Forestq

Active Member
Joined
May 9, 2010
Messages
482
hi,

I have simply formula SUM:

=SUMPRODUCT('Sheet3'!$BF$2:$BF$100*'Sheet3'!$AX$2:$AX$100*(Specific_Name=A10))

In coulmn BB I have name of the CITY - Tokyo, Paris, Londyn etc...

Now I want to SUM exactly this same but depending on the selected city (example: 'Sheet1'!A1= 'Paris')

Could you please help me??
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi Forestq,

Does this help to point you in the right direction?...

Excel Workbook
ABCDEF
1CityTotalCityData
2Paris800London100
3800Paris200
4800Rome300
5Oslo400
6Paris200
7Paris200
8Rome300
9Oslo400
10London100
11Paris200
12
Sheet10


Ak
 
Upvote 0
or =SUM(Sheet3!$BF$2:$BF$100*Sheet3!$AX$2:$AX$100*IF(Sheet3!$BB$2:$BB$100=A1,1,0)) enter as array formula
 
Last edited:
Upvote 0
thx Akashwani, little help ;)


i just multiply all function by my value (a2 is value with my city)

=SUMPRODUCT('Sheet3'!$BF$2:$BF$100*'Sheet3'!$AX$2:$AX$100*(Specific_Name=A10) * (A2 = sheet3!$BB$2:$BB$100))
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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