LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default macro to search for a set of numbers in a row

I have a set of 4 numbers. I need to go to each row in the spreadsheet,
search for 4 cells whose values matched these 4 numbers and then copy the
value of the cell right after these 4 cells to a table.
For example: the 4 numbers are 1, 2, 3, 4
In a row, I got: 10 30 100 3 5 1 2 3 4 20 40.....
I will have to copy 20 to a table and then continue to the next row.
I see we have a lot of examples searching for 1 value but for 4, I'm not
sure how to do it with a macro.
Thanks a lot,
mini
 
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
MATCH search with text and numbers Patryk Excel Worksheet Functions 1 January 27th 10 08:26 PM
Search row of numbers, find highest value. Ice Bear Excel Worksheet Functions 2 June 4th 09 03:55 PM
Search and add numbers from many WBs depending on ID column [email protected] Excel Discussion (Misc queries) 1 December 5th 06 10:12 PM
Numbers vs Text search Bigfoot17 Excel Discussion (Misc queries) 2 April 28th 06 01:58 PM
How do I get excel search through a range of numbers e.g. 1.99 - . govworker Excel Worksheet Functions 0 December 15th 04 06:11 PM


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