MrExceller

New Member
Joined
May 14, 2010
Messages
5
Hi,

I have a range where I want to find a cell address based on another function, like HLOOKUP or any other. But when I use HLOOKUP function as a 'refernce' argument in Excel's inbuilt function Cell(), it gives an error.

Is there a way, that I can find a cell address based on any of the lookup functions.

Any help or I am asking too much from Excel

Thanks,

MrExceller
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
=SUM(OFFSET(INDIRECT(ADDRESS(ROWS(MATCH(Q$1,$1:$1,0))+ROW()-1,MATCH(Q$1,$1:$1,0),4,1)),,-12):OFFSET(INDIRECT(ADDRESS(ROWS(MATCH(Q$1,$1:$1,0))+ROW()-1,MATCH(Q$1,$1:$1,0),4,1)),,-1,,))


I think I got it - the logic behind the formulae above is to look for a value in Q1, and identify the dynamic cell address by the help of INDIRECT, ADDRESS, ROWS function and creates dynamic range of 12 columns before column Q through OFFSET function.

If anybody knows simpler way of doing it, I would be glad to use

Thanks,

Thanks also somnath_it2006
 
Upvote 0

Forum statistics

Threads
1,214,974
Messages
6,122,536
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top