Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default how can i subtract AAAA1234 - AAAA1220?

how can i subtract AAAA1234 - AAAA1220?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 623
Default how can i subtract AAAA1234 - AAAA1220?

What result do you want. 4? AAAA0004? Something else?

If you want 4, you can get this by:

=right(b1,4)-right(a1,4)

--
Regards,
Fred


"HELP" wrote in message
...
how can i subtract AAAA1234 - AAAA1220?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default how can i subtract AAAA1234 - AAAA1220?

=IF(LEFT(A1,4)=LEFT(A2,4),LEFT(A1,4)&(--RIGHT(A1,LEN(A1)-4)-RIGHT(A2,LEN(A2)
-4)),"indeterminate")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"HELP" wrote in message
...
how can i subtract AAAA1234 - AAAA1220?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you subtract from the bank balance Palliative Excel Discussion (Misc queries) 1 September 13th 06 01:01 AM
How do I get my function to subtract .5? etabolt Excel Worksheet Functions 4 August 30th 06 02:41 PM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
hOW DO i SUBTRACT COLUMNS IN EXCEL? Toppers Excel Discussion (Misc queries) 0 March 26th 06 11:50 PM
excel [HHHHH]:mm add subtract hours mins inc lnegative mexico Excel Worksheet Functions 0 July 5th 05 05:45 PM


All times are GMT +1. The time now is 08:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"