INDEX, MIN, COLUMN Formula help.....please!

James8761

Board Regular
Joined
Apr 24, 2012
Messages
154
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I’ll try my best to explain. We had a bit of an excel whizz in the office last week who was setting up a spreadsheet.

He put in a formula that was working…….now it isn’t.

The idea is that each time we buy a new asset an asset number is given to it when you insert a column in an excel spreadsheet. This means we avoid duplication.

The formula currently reads……….=INDEX(DS8:EX68,1,MIN(IF(DS68:EX68="NO",COUMN(DS68:EX68)-(COLUMN($DS$68)-1),""))). The formula sits in Cell B5.

The first asset number is in Cell DS8. Cell EX8 has the word Insert. The idea being I insert a column each time a new asset is purchased and use the Next Available Asset Number given to me in Cell B5

Any help greatly appreciated.
James
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Click on the formula. Is it surrounded by { } in the formula bar? It needs entering CTRL-SHIFT-ENTER to work. By the way i presume COUMN is just a typo?? By the way you can write it like this which doesnt require that type of entry:

=INDEX(DS8:EX8,MATCH("NO",DS68:EX68,0))
 
Upvote 0
Click on the formula. Is it surrounded by { } in the formula bar? It needs entering CTRL-SHIFT-ENTER to work. By the way i presume COUMN is just a typo?? By the way you can write it like this which doesnt require that type of entry:

=INDEX(DS8:EX8,MATCH("NO",DS68:EX68,0))

Excellent, thanks so much for the quick reply. I just used the formula you gave and it works perfectly.

Thanks again,
James
 
Upvote 0

Forum statistics

Threads
1,215,523
Messages
6,125,318
Members
449,218
Latest member
Excel Master

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