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

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).

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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