Formula query

PatrickTT

New Member
Joined
Oct 7, 2020
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hi,
I am looking for a formula that will sum values in a column if the value in a cell in the same row is either 'received' or 'missing'. Basically I need the total of 'received' and 'missing'
See sample sheet below:
Vendor No. GR Quantity 2023 Update 31/10/24
1062145 10,968,190 Received
1047261 32,460,908 missing
1054466 20,067,750 missing
AND021 32,320,235 missing
1025333 6,683,736 missing
1000008 22,298,352 missing
CON030 3,608,000 missing
1059410 23,396,900 missing
1064259 5,349,050 missing
63367 228,140 missing
55887 2,506,375 Received
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
=GROUPBY(C2:C12,B2:B12,SUM,,0)
 
Upvote 0
Hi,

would this do what you need ?

Book1
BCDE
2
3Vendor No.GR Quantity 2023Update 31/10/24
4106214510,968,190Received146413071
5104726132,460,908missing
6105446620,067,750missing
7AND02132,320,235missing
810253336,683,736missing
9100000822,298,352missing
10CON0303,608,000missing
11105941023,396,900missing
1210642595,349,050missing
1363367228,140missing
14558872,506,375Received
Sheet1
Cell Formulas
RangeFormula
E4E4=SUMIF(D4:D14,"missing",C4:C14)
 
Upvote 0
thanks
Hi,

would this do what you need ?

Book1
BCDE
2
3Vendor No.GR Quantity 2023Update 31/10/24
4106214510,968,190Received146413071
5104726132,460,908missing
6105446620,067,750missing
7AND02132,320,235missing
810253336,683,736missing
9100000822,298,352missing
10CON0303,608,000missing
11105941023,396,900missing
1210642595,349,050missing
1363367228,140missing
14558872,506,375Received
Sheet1
Cell Formulas
RangeFormula
E4E4=SUMIF(D4:D14,"missing",C4:C14)
Thanks - this worked perfectly!
 
Upvote 0
Great, glad we could help,

thanks for the feedback...

Cheers
Rob
 
Upvote 0

Forum statistics

Threads
1,223,947
Messages
6,175,559
Members
452,652
Latest member
eduedu

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