IF statement with matched results

KirstAnn

New Member
Joined
Jan 23, 2018
Messages
2
So I think I need an if statement but I cannot seem to make it work but here is my problem (hopefully I can explain it well enough)

Colum A is a number (meters squared of work completed)
Colum B is size of rock used (naming convention used through drop down box being used a total of 5 variables)
Colum C is size of rock used (sometimes more than one size is used again with same naming conventions but never are there 2 cells with the same rock repeated)

In Colum D I want to total the amount of square meters a particular rock sized has been used.

So along the lines of for cell D1 I’m trying to solve IF B1=ROCK7 then D1=A1, if no result matched check cell C1 for ROCK7, if matched then D1=A1, if no result in B1 or C1 then leave blank

Thanks in advance
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,223,896
Messages
6,175,265
Members
452,627
Latest member
KitkatToby

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