countif w/vlookup

G

Guest

countif(range,criteria)
sawmill table is
10 125
12 150
14 175
i have a large range of numbers and am trying to use a vlookup in the
criteria.
i cant get this formula to work =countif(c15:c500,"<"vlookup(c8,sawmill,2))
where c8 is a value of 10, 12 or 14

thanks for any help
 
G

Guest

One small change and it should work for you just fine:
=CountIf(C15:C500,"<" & VLookup(C8,sawmill,2))

Note the addition of the & to make the results of the VLOOKUP part of the
condition.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top