LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default Complicated formula or macro

Is there a macro that does a search in different sheets for you? Here is the
complicated scenario I am trying to create: Let's say in Sheet 1, I have a
cell with the number 305212344. Now, through minor analysis, we know that
the number 305 is the signifier for this number. Meaning, once the excel
realizes that it is looking for 305 it then serches the 5 other data sheets
for the 305 data. Once it finds the 305 data, it then looks at the data for
305 and looks at the remaining numbers of 212344 and tries to find the number
21 in this data (the number can vary in length). Once it finds the 21 it
looks at the length of the remaining numbers (2344 in this case) and sees if
the length matches the length of digits given for 21. As mentioned the second
search, the number length may vary, so that instead of 21, it may be looking
for 2 so 12344 is left and it counts those digits (5) and checks to see if
that number matches to the number of digits required by 2.

Again, I know this is complicated, but I wanted to see if there was anyway
possible of doing this. Thanks in advance.
 
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 formula to Macro??? [email protected] New Users to Excel 3 July 9th 06 02:29 PM
Macro to insert formula nobbyknownowt Excel Worksheet Functions 3 June 28th 06 05:16 PM
Relative cells in macro - and pasting a formula too! Excel Discussion (Misc queries) 3 February 23rd 06 02:46 PM
Macro Formula Corey Excel Discussion (Misc queries) 1 February 4th 06 06:13 PM
Macro - formula for end of last row Gary Brown Excel Worksheet Functions 1 June 1st 05 12:02 AM


All times are GMT +1. The time now is 04:56 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"