Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default SumProduct VS Lookups

Dept Acct Hrs
Have columns with 9160 3210 160
9160 3610 80

Worksheet with ALL depts and all accts listed on it.
Need to fill it in with just the data that matches dept , acct, hrs.
Sumproduct will work, little clumsy for me, is there any way to get Vlooup
to look at both coluns on both sheets and pull the hours numbers only when
they match up.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default SumProduct VS Lookups

Hi

One way
Insert a row above your header row and insert in C1
=SUBTOTAL(9,C3:C1000)
change range to suit.

Mark the Header row, DataFilterAutofilter
Use the dropdown on Department, then Acct and the Total Hours will show
in C1.

Better still, create a Pivot Table.
Mark the range of data, DataPivot TableNextFinish
Drag Dept to the Page area
Drag Acct to the Row Area
Drag Hrs to the Data area

Use the filters to show whichever combinations you want.

For more help on Pivot tables take a look at the following sites

http://www.contextures.com/xlPivot02.html

look on Contextures site also for help in setting up Dynamic ranges to
deal with expanding sets of data.

http://www.datapigtechnologies.com/f...es/pivot1.html

http://www.edferrero.com/Tutorials.aspx



--
Regards

Roger Govier


"jlmccabes" wrote in message
...
Dept Acct Hrs
Have columns with 9160 3210 160
9160 3610 80

Worksheet with ALL depts and all accts listed on it.
Need to fill it in with just the data that matches dept , acct, hrs.
Sumproduct will work, little clumsy for me, is there any way to get
Vlooup
to look at both coluns on both sheets and pull the hours numbers only
when
they match up.




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
SumProduct and row lookups Stacey Excel Discussion (Misc queries) 6 April 10th 07 09:32 PM
need help with V lookups Scottinphx Excel Worksheet Functions 3 August 4th 06 10:04 PM
Lookups nick Excel Worksheet Functions 0 October 3rd 05 06:37 PM
Lookups Steve Wright Excel Discussion (Misc queries) 2 June 9th 05 12:58 AM
LOOKUPS - Creating LOOKUPs where two different values must BOTH be satisfied. Mr Wiffy Excel Worksheet Functions 2 May 16th 05 04:29 AM


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