#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default VLookup

Hi

I need some help with i think a vlookup formula.

I have a spreadsheet that calculates services done by shops.

there are 8 sheets 1 for each day of the week and 1 summary.

On the daily sheets there are 30 drop down boxes where the individual can
input a sevice in each box.

On the summary sheet there is a table which breaks down the number of
individual services and i want it to automatically pull how many of each
services have been done over the whole week i.e tabs 1-7

Can anyone help?

phill
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default VLookup

I suspect you'll use countif rather than vlookup.
Ex: =countif('Monday'!A:A,"Repair") will indicate how many cells in column
A on Monday's worksheet are set to 'Repair'. So if you have the word Repair
in cell A2 of the summary sheet, then you could use something like
=countif('Monday'!A:A,$A2)+countif('Tuesday'!A:A,$ A2)... to get the full
week's count of Repair services.

"phill" wrote:

Hi

I need some help with i think a vlookup formula.

I have a spreadsheet that calculates services done by shops.

there are 8 sheets 1 for each day of the week and 1 summary.

On the daily sheets there are 30 drop down boxes where the individual can
input a sevice in each box.

On the summary sheet there is a table which breaks down the number of
individual services and i want it to automatically pull how many of each
services have been done over the whole week i.e tabs 1-7

Can anyone help?

phill

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default VLookup

thankyou

what would i put in the equation so that it does what you said but it
ignores any blank cells from the individual days, as they are on drop down
boxes and may or may not be filled in depending on how busy they are?

Thanks

Phill

"bpeltzer" wrote:

I suspect you'll use countif rather than vlookup.
Ex: =countif('Monday'!A:A,"Repair") will indicate how many cells in column
A on Monday's worksheet are set to 'Repair'. So if you have the word Repair
in cell A2 of the summary sheet, then you could use something like
=countif('Monday'!A:A,$A2)+countif('Tuesday'!A:A,$ A2)... to get the full
week's count of Repair services.

"phill" wrote:

Hi

I need some help with i think a vlookup formula.

I have a spreadsheet that calculates services done by shops.

there are 8 sheets 1 for each day of the week and 1 summary.

On the daily sheets there are 30 drop down boxes where the individual can
input a sevice in each box.

On the summary sheet there is a table which breaks down the number of
individual services and i want it to automatically pull how many of each
services have been done over the whole week i.e tabs 1-7

Can anyone help?

phill

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default VLookup

I'm not sure I understand... If the drop-down selection boxes are blank,
then the countif function wouldn't count them, so you should be fine.
If you have a case where the drop-down selection would have been made, but
another cell in the same row might be blank indicating that there was no
activity, you could use sumproduct to capture both conditions, the activity
being selected AND the other cell non-blank. The formula below would provide
the count if the activity drop-downs are in A1:A40 and the corresponding
cells are in B1:B40.
=SUMPRODUCT(--(Monday!$A$1:$A$40=$A2),--(Monday!$B$1:$B$40<""))


"phill" wrote:

thankyou

what would i put in the equation so that it does what you said but it
ignores any blank cells from the individual days, as they are on drop down
boxes and may or may not be filled in depending on how busy they are?

Thanks

Phill

"bpeltzer" wrote:

I suspect you'll use countif rather than vlookup.
Ex: =countif('Monday'!A:A,"Repair") will indicate how many cells in column
A on Monday's worksheet are set to 'Repair'. So if you have the word Repair
in cell A2 of the summary sheet, then you could use something like
=countif('Monday'!A:A,$A2)+countif('Tuesday'!A:A,$ A2)... to get the full
week's count of Repair services.

"phill" wrote:

Hi

I need some help with i think a vlookup formula.

I have a spreadsheet that calculates services done by shops.

there are 8 sheets 1 for each day of the week and 1 summary.

On the daily sheets there are 30 drop down boxes where the individual can
input a sevice in each box.

On the summary sheet there is a table which breaks down the number of
individual services and i want it to automatically pull how many of each
services have been done over the whole week i.e tabs 1-7

Can anyone help?

phill

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 isn't working correctly? Dave F Excel Discussion (Misc queries) 2 October 14th 06 04:27 AM
VLookup a Vlookup adamb2000 Excel Worksheet Functions 4 June 28th 06 10:54 PM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM


All times are GMT +1. The time now is 02:53 PM.

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

About Us

"It's about Microsoft Excel"