# Help[ with a formula

#### want to learn

##### New Member
Hello All,
I hope you can help me with this.....

I am creating a speadsheet of material i approve for purchase and the cost assciated with it.

So, in column A i have the PO number, in column B i have the model number and in column C i have the unit cost and in column D i have the total cost for that order.

In cell \$E\$51, I want a formula to look at column B and see if it matches a criteria. If true, i want it to total the amounts of column D.

### Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

#### Mike Blackman

##### Well-known Member
Hi,

=SUMIF(B1:B50,"Random Material",D1:D50)

#### want to learn

##### New Member
Re: Help with a formula

Thanks,
That was simple. I am a little embarrassed.

Replies
8
Views
174
Replies
1
Views
130
Replies
1
Views
357
Replies
2
Views
297
Replies
1
Views
267

1,191,165
Messages
5,985,036
Members
439,935
Latest member
Monty238

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

### Which adblocker are you using?

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

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