Conditional calculation in Excel

ctsgreddy

New Member
Joined
Oct 11, 2009
Messages
5
I have four possible combinations that can happen.. Based on the combination, I need to multiply different coulmns and put it in a cell.

Could you please send me the syntax please...??
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Please find the sample below

type location rate

A India $10
A USA $40
B India $12
B USA $45




Type Location hours $$

A India 35 (=hours * rate)
B USA 40 (=hours * rate)


Based on the location and resource type, I have different rate. I need to multiply my hours with appropriate rate coming out of the first table
 
Upvote 0
I'm sure somebody will let me know the right way to do this, but does this work...

Excel Workbook
KLMNO
4TypeLocationRate
5AIndia$1035$350
6AUSA$40
7BIndia$12
8BUSA$4540$1,800
9
10
11A India35
12B USA40
Sheet2
 
Upvote 0
Create a Table like this and use INDEX(MATCH)
Code:
  A     B  C  D  
1       A  B  C  
2 INDIA 10 12 14 
3 USA   40 45 50 
4 CHINA 50 60 70 
5                
6                
7 USA            
8 B           45 
Sheet2
[Table-It] version 09 by Erik Van Geit
Code:
RANGE FORMULA 
D8    =INDEX(B2:D4,MATCH(A7,A2:A4,0),MATCH(A8,B1:D1,0))
[Table-It] version 09 by Erik Van Geit

lenze
 
Upvote 0

Forum statistics

Threads
1,215,745
Messages
6,126,634
Members
449,323
Latest member
Smarti1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top