Formula to change row number to value of different cell.

EJ42955

Board Regular
Joined
Apr 18, 2006
Messages
101
If that isn't clear.

I want this formula to change the Row reference $G$533, to the value in cell AK1.
When I change the value in AK1, to 534, I want the formula to change the row 533 to 534. Automatically, on change, a macro button, whatever.

=COUNTIF(DATA!$C$524:$G$533,AE2)

Ideas? Thanks.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hey,jorismoerings, As long as I have your ear.
How can I get cell $AK$1, from above, to return the ROW number of the first blank cell in DATA!C:C? So, I don't have to make the change manually.

Thanks.
 
Upvote 0
Hi,

Try this =MATCH(TRUE,INDEX(ISBLANK(DATA!C:C);0);0). ISBLANK test the cell for a true blank cell. If you cleared the cell using "" in some kind of formula the better option is to try this: =MATCH(TRUE,INDEX(DATA!C:C="",0),0).
 
Last edited:
Upvote 0
Thanks, again, ,jorismoerings. Second formula worked best.
Appreciate, all your help.

EJ
 
Upvote 0

Forum statistics

Threads
1,215,391
Messages
6,124,678
Members
449,179
Latest member
fcarfagna

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