#1   Report Post  
Ankur
 
Posts: n/a
Default different tables

Table 1 is as below :
P Q R S
Basic 1 3 5 7
HRA 5 7 2 6

Table 2 is as below
April May June July
Dept P 2 3 4 5
Dept Q 11 12 14 15

I want to determine department wise line itme wiase cost. Please guide me.
Eg. Department cost of "P" for April will be Basic (2*1) & Basic will be
(2*5=10).

Kindly help


  #2   Report Post  
Domenic
 
Posts: n/a
Default different tables

Assumptions:

Table 1...

O2:O3 contains Basic and HRA

P1:S1 contains April, May, June, and July

P2:S3 contains your data

Table 2...

O7:O8 contains Dept P and Dept Q

P6:S6 contains April, May, June, and July

P7:S8 contains your data

O12 contains the department of interest, such as Dept P

P12 contains the month of interest, such as April

Q12 contains Basic or HRA

Formula:

=SUMIF($O$7:$O$8,O12,INDEX($P$7:$S$8,0,MATCH(P12,$ P$6:$S$6,0)))*SUMIF($O$
2:$O$3,Q12,INDEX($P$2:$S$3,0,MATCH(P12,$P$1:$S$1,0 )))

Hope this helps!

In article ,
"Ankur" wrote:

Table 1 is as below :
P Q R S
Basic 1 3 5 7
HRA 5 7 2 6

Table 2 is as below
April May June July
Dept P 2 3 4 5
Dept Q 11 12 14 15

I want to determine department wise line itme wiase cost. Please guide me.
Eg. Department cost of "P" for April will be Basic (2*1) & Basic will be
(2*5=10).

Kindly 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
How do I keep file sizes small when using multiple pivot tables? jester1072 Excel Discussion (Misc queries) 2 June 6th 05 06:43 PM
How to pull numbers from two tables with conditions? Anna Excel Worksheet Functions 1 May 14th 05 03:21 PM
Macro for Pivot Tables Thomas Excel Discussion (Misc queries) 1 March 15th 05 02:03 AM
Autofiltering multiple tables on a spreadsheet Paul Excel Worksheet Functions 1 January 26th 05 01:47 AM
How to paste Xcel tables legibly into Word . Help!! Nimo Excel Discussion (Misc queries) 1 December 14th 04 10:53 PM


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