Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EKB
 
Posts: n/a
Default Search a random array of cells and return a value of "X"

Looking for a way to conduct a "LOOKUP" in a random array of cells, ie
A1:A25, B2,B5,C2,C5 find a specific result and return a value of "X" in a
specific cell.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Search a random array of cells and return a value of "X"

Not sure if there's a direct way,
but perhaps something along these lines ..

In Sheet1,

Use 2 empty cols, say: cols E & F
to list the sheetnames (in col E)
& cell references (in col F),
eg:

Sheet2, a1
Sheet2, b2
Sheet3, b5

Then put in G1, and copy down:
=INDIRECT("'"&E1&"'!"&F1)

Col G will return the contents of the cells referenced

Then if we have the lookup values listed in A1 down,
we could put in B1:
=IF(ISNUMBER(MATCH(A1,G:G,0)),"X","")
and copy B1 down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"EKB" wrote in message
...
Looking for a way to conduct a "LOOKUP" in a random array of cells, ie
A1:A25, B2,B5,C2,C5 find a specific result and return a value of "X" in a
specific cell.



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
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Excel Worksheet Functions 3 February 13th 11 05:33 AM
Linking Groups of cells between workbooks vnacj-joe Excel Discussion (Misc queries) 4 June 14th 07 05:18 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Return a cell value based on specific combinations of cells in an array rmcnam05 Excel Worksheet Functions 2 October 11th 05 03:28 AM
Return number of cells filled LMB New Users to Excel 3 April 29th 05 02:55 AM


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