Excel Formula to lookup a value in 3 columns and sum up their respective data

An Quala

Board Regular
Joined
Mar 21, 2022
Messages
146
Office Version
  1. 2021
Platform
  1. Windows
Hello everyone, this data has 3 boxes, it has campaign names and their respective data, I want to add one more column in which I want to SUM up the data from these 3 columns, but the problem is that the campaign name for example "(SH)" is in different row in all 3 columns and it could come in any row randomly in the first 100 rows in column A, M and Y.

I need an excel formula (not the VBA code) that sums up all the data for example impressions of (SH) in all 3 boxes, which will be 11408 in this given data,

In case if value is appearing only in 2 columns out of 3 it should only sum up those 2 without giving error and so on for only 1.

Looking forward to your help.


Reporting Dummy Data.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAU
1Sponsored Products CampaignsSponsored Brands CampaignsSponsored Display CampaignsAll Types
2Campaign Name (Informational only)ImpressionsClicksSpendSalesOrdersUnitsACOSCVRCPONumber of CampaignsCampaign Name (Informational only)ImpressionsClicksSpendSalesOrdersUnitsACOSCVRCPONumber of CampaignsCampaign Name (Informational only)ImpressionsClicksSpendSalesOrdersUnitsACOSCVRCPONumber of CampaignsCampaign Name (Informational only)ImpressionsClicksSpendSalesOrdersUnitsACOSCVRCPONumber of Campaigns
3(SH)87002724.2341.946658%22%4.0413E31855727.6755.927849%12%3.9511E238162.746.991139%17%2.742E
4(CP)62123222.235.75662%16%4.4451(SH)270894.665.951178%11%4.6671(CP)84310.220000%0%0.0016(CP)
5E263587.566.9911108%13%7.565(CP)70496.176.991188%11%6.175(SH)0000000%0%0.000(SH)11408
Sheet1
Cell Formulas
RangeFormula
AL5AL5=B3+N4+Z5
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
See if this works for you.

22 07 09.xlsm
AKAL
2Campaign Name (Informational only)Impressions
3E8201
4(CP)7759
5(SH)11408
SUMIF
Cell Formulas
RangeFormula
AL3:AL5AL3=SUMIF($A$3:$Y$100,$AK3,B$3:Z$100)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,925
Messages
6,122,301
Members
449,078
Latest member
nonnakkong

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