Front Office Football Central  

Go Back   Front Office Football Central > Main Forums > Off Topic
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 10-14-2020, 12:11 PM   #1
Dodgerchick
College Benchwarmer
 
Join Date: Oct 2009
Location: Austin, TX
PING: Excel Gurus

I want to subtract H9-G9, add 1 and remove the letter. Total remits should be 25, not 24:



Thanks in advance.

Dodgerchick is offline   Reply With Quote
Old 10-14-2020, 12:22 PM   #2
henry296
College Starter
 
Join Date: Oct 2000
Location: Pittsburgh, PA
Assuming the numbers are always 6 digits after the letter.

Right(h9,6)*1 - right(g9,6)*1 +1, should work.

If there is always one letter character, you could use something like this trim(mid(g9,2,100))*1 to convert to a number.

Using the multiply by 1 helps convert it from a string to a number.
__________________
"It's a great day for hockey" - "Badger" Bob Johnson
henry296 is offline   Reply With Quote
Old 10-14-2020, 12:25 PM   #3
HerRealName
College Prospect
 
Join Date: Dec 2002
Seems like =right(H9,6)-right(g9,6) + 1 should work.


edit: or just do what henry suggests . seems like it should work

Last edited by HerRealName : 10-14-2020 at 12:26 PM.
HerRealName is offline   Reply With Quote
Old 10-14-2020, 12:31 PM   #4
JediKooter
Coordinator
 
Join Date: Dec 2004
Location: San Diego via Sausalito via San Jose via San Diego
Just type 25 in column F.
__________________
I'm no longer a Chargers fan, they are dead to me

Coming this summer to a movie theater near you: The Adventures of Jedikooter: Part 4
JediKooter is offline   Reply With Quote
Old 10-14-2020, 12:39 PM   #5
Dodgerchick
College Benchwarmer
 
Join Date: Oct 2009
Location: Austin, TX
Quote:
Originally Posted by henry296 View Post
Assuming the numbers are always 6 digits after the letter.

Right(h9,6)*1 - right(g9,6)*1 +1, should work.

If there is always one letter character, you could use something like this trim(mid(g9,2,100))*1 to convert to a number.

Using the multiply by 1 helps convert it from a string to a number.

It worked! Thanks, Henry

Quote:
Originally Posted by HerRealName View Post
Seems like =right(H9,6)-right(g9,6) + 1 should work.


edit: or just do what henry suggests . seems like it should work

Hah! Thanks for chiming in

Quote:
Originally Posted by JediKooter View Post
Just type 25 in column F.

That's too much work, I want excel to do it for me.

Smartypants
Dodgerchick is offline   Reply With Quote
Old 10-14-2020, 12:57 PM   #6
JediKooter
Coordinator
 
Join Date: Dec 2004
Location: San Diego via Sausalito via San Jose via San Diego
Glad I could help DC!
__________________
I'm no longer a Chargers fan, they are dead to me

Coming this summer to a movie theater near you: The Adventures of Jedikooter: Part 4
JediKooter is offline   Reply With Quote
Old 10-14-2020, 01:29 PM   #7
Vince, Pt. II
Pro Starter
 
Join Date: Sep 2009
Location: Somewhere More Familiar
Inquiring minds want to know: why start on row 8?
Vince, Pt. II is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -5. The time now is 08:07 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.