formula to find the first cell up from the current cell with a checkbox ticked for Google Sheets

fitnessman

New Member
Joined
Dec 29, 2011
Messages
10
hi guys

is there a formula (for example in cell Q10) to seach from upwards in column A (where i have checkboxes in each cell) to find the row that has the first checkbox ticked UP from Q10 and then calculate the foluma Q10-Q(the row number that the first checkbox is ticked up from Q10)

hope that makes sense am stuck as i cant seem to find anything that will specifically seach upwards from Q10 in column A until it finds the first checkbox ticked. can it be done?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I don't think that is possible. It seems like it might create a circular reference. Excel does not allow circular references.
 
Upvote 0
I don't think that is possible. It seems like it might create a circular reference. Excel does not allow circular references.
no worries i have found a workaround for now with xlookup and the -1 search mode but amstruggleing with creating a dynamic range from my cell row upto A2, will keep pluggig away
 
Upvote 0
Excel Formula:
=XLOOKUP("YourValue",ADDRESS(ROW(),COLUMN(),,,),,,,-1)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
well on this computer its actually google documents but on my work computer i have the latest excel but i have found they seem to have very similar functionality but maybe thats why im struggleing on this computer at home at the moment.
 
Upvote 0
Sorry
Excel Formula:
=XLOOKUP("YourValue",ADDRESS(ROW(),COLUMN():A2,,,),,,,-1)
i can get =address(2,1,,,)&":"&address(row(),Column(),,,) to produce an array A2:A10 however i cannot get xlookup to recognise this formula as a range i just get a blank cell no error. how can i get the address to be recognised as a range?
 
Upvote 0

Forum statistics

Threads
1,223,315
Messages
6,171,400
Members
452,398
Latest member
InvoicingNoob

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