LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Member
 
Location: Bangalore
Posts: 41
Smile

Quote:
Originally Posted by Galant Koh View Post
Can I be a pain?

I know this isn't what I originally requested but now I've played with it an additional function would be useful.

Is it possible, instead of leaving the IF TRUE value blank, to have it return the name of the sheet on which the searched value (in this case A6) was found?

To summarise, if the value is false it will return "No data", but if the value is true, then it will return either, "Active Service", "Spare", "Retired", "In Repair", depending upon where the value was found?

That would be really helpful.

Thanks.
Hi,

Is it alright for you to use a VBA custom function which works in an exactly the same way. It is definitely possible to return what you are asking for. Here is a formula that would return the sheet name in the sheet it is used.
=RIGHT(CELL("filename",B1),LEN(CELL("filename",B1) )-FIND("]",CELL("filename",B1),1))

As you see it is a cumbersome process to get such a simple information from built in functions. Also looking at the existing way the formula is return there can be some issues later such as what happens when someone inserts a new sheet. You will have to modify your formula.

I would suggest a VBA function for such a task but want to check with you if you are happy with this before I can create a custom function for you.

Let me know your thoughts.

Prashant
 
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
Check for NON-presence of a string in another string G.P.N.L. c.v.a. Excel Worksheet Functions 4 December 11th 09 06:10 PM
Detect Presence Formula Ken Excel Worksheet Functions 6 September 12th 06 06:43 PM
please help me mark their presence. hirendra7158 Excel Worksheet Functions 3 March 13th 06 10:46 PM
count their presence hirendra7158 Excel Worksheet Functions 1 March 13th 06 08:41 PM
Sheet presence? Zurn[_32_] Excel Programming 5 March 9th 06 11:40 AM


All times are GMT +1. The time now is 12:52 PM.

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"