Formula with Conditions

kmpmba

New Member
Joined
Apr 25, 2018
Messages
6
Require urgent assistance - Please assist with the required formula - TIA
open
FILE 1
PropertyD
Length500
Breath200
TypeA
Requirement Nos.(cell B6 - Answer required here)
Rules to Calculate answer in B6
Multiply Length (B3) with Breath (B4)
Divide by area (available in File 2)
IF Property = D - Double the total at this stage
Add 10% to Total
Add 50 Nos. to Total
FILE 2
TYPEArea
A139.75
B156.95
C163.67

<colgroup><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Im assuming File 2 is the name of sheet 2? And also the values in file 2 are in B2, B3 AND B4?

something like this?

=IF(B2="D", ((B3*B4)/INDEX('FILE 2'!B2:B4, MATCH('FILE 1'!B5, 'FILE 2'!A2:A4)))*2*1.1+50, ((B3*B4)/INDEX('FILE 2'!B2:B4, MATCH('FILE 1'!B5, 'FILE 2'!A2:A4)))*1.1+50)
 
Upvote 0
Im assuming File 2 is the name of sheet 2? And also the values in file 2 are in B2, B3 AND B4?

something like this?

=IF(B2="D", ((B3*B4)/INDEX('FILE 2'!B2:B4, MATCH('FILE 1'!B5, 'FILE 2'!A2:A4)))*2*1.1+50, ((B3*B4)/INDEX('FILE 2'!B2:B4, MATCH('FILE 1'!B5, 'FILE 2'!A2:A4)))*1.1+50)

Mant thanks - used this instead =(B3*B4/VLOOKUP(B5,A18:B20,2,0)*IF(B2="D",2,1))*1.1+50
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,580
Members
449,089
Latest member
Motoracer88

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