#1   Report Post  
Posted to microsoft.public.excel.misc
sjl sjl is offline
external usenet poster
 
Posts: 8
Default countif w/vlookup

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default countif w/vlookup

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.

"sjl" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 492
Default countif w/vlookup

Try
=COUNTIF(C15:C500,"<"&VLOOKUP(C8,sawmill,2))
Regards,
Alan.
"sjl" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup and countif??? Joe Excel Worksheet Functions 5 March 13th 06 10:33 AM
Countif + vLookup: Can they work together? Spyder Excel Discussion (Misc queries) 3 February 24th 06 12:27 PM
Countif or Vlookup praveen_khm Excel Worksheet Functions 1 February 3rd 06 08:17 PM
Countif? or Vlookup? Lost?? leo Excel Worksheet Functions 3 November 30th 05 02:17 PM
vlookup, sumif, if, countif, help chintu49 Excel Worksheet Functions 0 May 26th 05 03:00 PM


All times are GMT +1. The time now is 12:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"