Are sumifs relevant to what I want to do?

mikeolson

New Member
Joined
Oct 22, 2018
Messages
7
I have two columns with no data, but when there is data (a job number) in any cell in these two columns that is a duplicate, I want the quantity (cell in this row) to multiply by the price (another cell in the same row), and return to me the total, and the job number at the end of the row. I know that this is probably really simple, but I'm not having any luck with this. The same job number could be entered into any of the first two columns, so I want a total for each jobs costs.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
sumifs could be, but i'd go with countifs. count the occurances of the job number in both columns then do your calculation.

something like =IF(COUNTIF(A:A,B2)+COUNTIF(B:B,B2)>1,yourcalculation,"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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