Help with countif ... lookup....

Some videos you may like

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

ACommandLineKindaGuy

Active Member
Joined
May 11, 2002
Messages
304
Look at Help on VLOOKUP and pay specifica attentionthe the last optional parameter set to FALSE when the lis is not ascending
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
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))
 

sillylupie77

New Member
Joined
Sep 17, 2006
Messages
6

ADVERTISEMENT

Thanks a bunch Barry! Solved my problem no. 1 !!!

Now I gotta understand the function ...
 

sillylupie77

New Member
Joined
Sep 17, 2006
Messages
6
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...
 

Watch MrExcel Video

Forum statistics

Threads
1,108,924
Messages
5,525,657
Members
409,658
Latest member
Yardcell

This Week's Hot Topics

Top