Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default is it possible for Vlookup and CountIf function in the same forumla?

I really really really need help on this one...in my excel sheet, I
have to sheets, one is called Data and the other is extract. In the
"data" sheet, I have about 764 lines in Column D with store numbers,
in the "extract" sheet, I have up to 19165 rows of data. These data
contains the stores in the "data"sheet, which shows a list of lines
that the stores has done planning for, this is identified by the
forumala =IF(I10=J10,"Unreviewed","Reviewed"). Each store has around
1000 lines. What I need to know is can I do a vlookup in the "Data"
sheet where it will look up in "extract" and count the total number of
lines "Unreviewed" and display next to the store numbers in the "data"
sheet....I hope i make sense...please help me...thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default is it possible for Vlookup and CountIf function in the same foruml

try:

=SUMPRODUCT(--(Data!$A$2:$A$19165=D2),--(Data!$C$2:$C$19165="Unreviewed"))

Column A of Data contains Store ID and C contains "Unreviewed"

D2 (in Extract) is Store ID

Copy formula down.

"Gor_yee" wrote:

I really really really need help on this one...in my excel sheet, I
have to sheets, one is called Data and the other is extract. In the
"data" sheet, I have about 764 lines in Column D with store numbers,
in the "extract" sheet, I have up to 19165 rows of data. These data
contains the stores in the "data"sheet, which shows a list of lines
that the stores has done planning for, this is identified by the
forumala =IF(I10=J10,"Unreviewed","Reviewed"). Each store has around
1000 lines. What I need to know is can I do a vlookup in the "Data"
sheet where it will look up in "extract" and count the total number of
lines "Unreviewed" and display next to the store numbers in the "data"
sheet....I hope i make sense...please help me...thanks


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
countif w/vlookup sjl Excel Discussion (Misc queries) 2 February 16th 07 03:05 PM
vlookup and countif??? Joe Excel Worksheet Functions 5 March 13th 06 10:33 AM
Excel Forumla (vlookup problem) dan61021 Excel Discussion (Misc queries) 0 February 13th 06 03:41 AM
Countif or Vlookup praveen_khm Excel Worksheet Functions 1 February 3rd 06 08:17 PM
Forumla Help!countif?IF?If(AND? if(OR? harpscardiff Excel Discussion (Misc queries) 6 January 19th 06 10:45 AM


All times are GMT +1. The time now is 06:01 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"