CELL function

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
This week I received my latest free chapter of Learn Excel from Mr Excel (Chapter 11). On page 220 there is a solution to a lookup problem which reads:
Code:
=VLOOKUP($F28,$F$23:$H$26,CELL("Col",G28)-5,FALSE)

I was curious as to the use of CELL("Col",G28) when surely COL(G28) would work just the same and is more concise.

I must say, I've never found much use for the CELL function (I'm sure it has it's uses :) ) and it seems odd that some of the features of the function overlap with other functions, namely:
"col", "row", "contents"

When there would appear to be much better ways to obtain the information required.

Does anyone actually use the CELL function on a regular basis or is it just there to look pretty?
 
Thats a good example for Cell("address",). I've never used this option. I think I'd use address(). For a vertical vector:

=ADDRESS(ROW(INDEX(Rng,MATCH(9,Rng,0))),COLUMN(Rng))

In this case using Cell("Address",) seems, indeed, easier:

=Cell("Address",INDEX(Rng,MATCH(9,Rng,0)))
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,225,354
Messages
6,184,460
Members
453,235
Latest member
dirtisbrown17

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