countif w/vlookup

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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

Excel Need Countifs Formula Help 0
Excel 2002 Why VLOOKUP(Extract,B$4:C$8,2,FALSE) ? 3
Countif/Vlookup 2
Countif only once 4
Sorting and COUNTIF 6
COUNTIF, Sorting, on Two Sheets 1
vlookup with numbers 10
Sumif/countif 2

Back
Top