LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Fixing Double References

Ok, this is gonna come off as really complicated, but really all i need to do
is to take what is outputted by this formula...

=IF('Shop Order Info'!B164="","",IF(COUNTIF('Shop Order
Info'!$B$2:B164,'Shop Order Info'!B164)1,"",'Shop Order Info'!B164))

Which outputs "SS-4-DATPM-4-2007" and remove the "-2007" from what the
formula returns. The reason i'm asking is because a formula taking the
output of this formula is adding an xtra "-2007". I cannot remove the second
formula's "-2007" because it's being used for a "Match( )" and removing it
causes the second formula to fail and therefore not outputting correctly.

(I can do it by removing it from the second formula, it just means I'd have
to manually redirect the formula to the right cell every time we changed the
order or added new data. Which is a real pain... __<''')

I want to find a way to have it remove the "-2007" from the first formula
w/o changing the data from the Shop Order Info sheet.

I figure I'm asking for the near impossible, but wth... I figured I'd try.
 
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
Add excel horizontal & vertical ruler snbahri Excel Worksheet Functions 8 December 1st 06 07:18 PM
Excel CSV file: How to preserve double quotation mark on Unix ftp? Shannona Excel Discussion (Misc queries) 2 October 3rd 06 07:54 PM
Changing cell references in formulas to names and back again. Aaron Excel Discussion (Misc queries) 4 April 25th 06 11:12 PM
Double clicking in a Pivot Table, Please HELP marko Excel Discussion (Misc queries) 3 December 27th 05 07:52 AM
Calculating p-value from Fisher's Exact Test Ian Smith Excel Worksheet Functions 1 September 28th 05 08:00 PM


All times are GMT +1. The time now is 06:35 AM.

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

About Us

"It's about Microsoft Excel"