Help with countif ... lookup....

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Look at Help on VLOOKUP and pay specifica attentionthe the last optional parameter set to FALSE when the lis is not ascending
 
Upvote 0
To return a result from the column to the left you need INDEX/MATCH not VLOOKUP. List doesn't need to be sorted if you use a zero as the 3rd argument of MATCH....so try

=INDEX(B3:B10,MATCH(C17,C3:C10,0))
 
Upvote 0
Hi Barry,

Hehehe, never been good at expressing my problems ...

OK, what I wanted to achieve in calculating how many times the Inital PN # rollover ....

eg ... if I enter 7778 in C21

Initial PN # will appear as 1206 in C14 (thanks to you.....)

And ... the No. of Rollovers (where the problem is...) should be 1, instead of 2 ... reason being though 7778 appears twice it should be counted as only once....

Help pls, thanks...
 
Upvote 0

Forum statistics

Threads
1,217,753
Messages
6,138,416
Members
450,135
Latest member
IsidroGil

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