LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hussam81
 
Posts: n/a
Default how to use cell contents as references in a formula

I want to use the EXACT function to compare fixed cell with a variable one.
this is an example
sheet1
A B
orange 45
apple 60

sheet2
A B
banana 50
apple 60
orange 45

my goal is to compare table1 with table2 to make sure that orange is
included in table 2 and return its index which is 3 (row is enough) in this
example, I did this step.
now I want to use EXACT to compare the price of the orange in table1(45)
which is B1 with the price of orange in the second table.
manual formula would be =EXACT(sheet1!B1,sheet2!B3)...
I want to do this automatically, i.e. after finidng the orange and its index
(row number) in the second table using MATCH function, and inserting that
index as a content of C1 for example, I want to EXACT B1 in the first table
with B[content of C1] which will be 3 in this example.
it is complicated to explain but I hope that I made it clear enough.
anyone can help?


 
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
Using cell contents within a formula Patrick Simonds Excel Worksheet Functions 2 December 17th 05 09:52 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Limit of color-coded cell references editing a formula. u2sparky Excel Discussion (Misc queries) 1 September 9th 05 07:06 PM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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