Multiply a string of cells per the criteria

Grexx

New Member
Joined
Aug 16, 2017
Messages
1
HI, I hope I formulated the topic correctly. What I want to do is to multiply Rooms by ADR for each date and sum them together to get total revenue for all days in a given segment (for example in row 5 and the result will be in cell S5). I thought of going with SUMPRODUCT but cannot figure out how. Can you please help? Thank you.


ABCDEFGHIJKLMNOPQRS
17-Aug7-Aug8-Aug8-Aug9-Aug9-Aug10-Aug10-Aug11-Aug11-Aug12-Aug12-Aug13-Aug13-AugTotals
2MondayMondayTuesdayTuesdayWednesdayWednesdayThursdayThursdayFridayFridaySaturdaySaturdaySundaySunday
3RoomsADRRoomsADRRoomsADRRoomsADRRoomsADRRoomsADRRoomsADRRooms%Revenue
4RACKvar-1$12.780$13.766$44.683$39.833$81.553-$18.261-$28.16153% $(118.12)
5D14$117.864$117.867$134.067$144.435$175.845$147.844$141.91366.96% $ -
6D25$105.084$104.101$89.384$104.602$94.292$166.103$170.07215.87% $ 118.12
7Internetvar21$19.7718$14.8720$9.4718$16.7513$11.349$14.099$18.0310821% $ 10.74
8D134$106.7132$110.4733$109.7737$111.2851$135.2753$138.0630$126.0127052.22% $ 121.85
9D213$86.9414$95.6013$100.3019$94.5338$123.9344$123.9721$107.9816245.25% $ 111.11
10Other Discountsvar5-$18.055-$16.435$22.488$32.870$38.53-5$26.760$12.85183% $ 16.40
11D125$128.2717$140.3317$150.7221$150.0731$160.0534$166.5823$132.9716832.50% $ 148.75
12D220$146.3212$156.7612$128.2413$117.2031$121.5239$139.8223$120.1215041.90% $ 132.35
13Rack, Internet, Discounts Totalsvar25-$4.6123-$0.5931$12.1929$23.5516$24.397$16.9010$12.0514127% $ 11.72
14D163$115.9753$120.6157$124.9765$127.3887$146.4392$149.1357$129.9347491.68% $ 132.84
15D238$120.5830$121.2026$112.7836$103.8471$122.0485$132.2347$117.8833393.02% $ 121.12

<tbody>
</tbody>


<tbody>
</tbody>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
HI, I hope I formulated the topic correctly. What I want to do is to multiply Rooms by ADR for each date and sum them together to get total revenue for all days in a given segment (for example in row 5 and the result will be in cell S5). I thought of going with SUMPRODUCT but cannot figure out how. Can you please help? Thank you.


ABCDEFGHIJKLMNOPQRS
17-Aug7-Aug8-Aug8-Aug9-Aug9-Aug10-Aug10-Aug11-Aug11-Aug12-Aug12-Aug13-Aug13-AugTotals
2MondayMondayTuesdayTuesdayWednesdayWednesdayThursdayThursdayFridayFridaySaturdaySaturdaySundaySunday
3RoomsADRRoomsADRRoomsADRRoomsADRRoomsADRRoomsADRRoomsADRRooms%Revenue
4RACKvar-1$12.780$13.766$44.683$39.833$81.553-$18.261-$28.16153% $(118.12)
5D14$117.864$117.867$134.067$144.435$175.845$147.844$141.91366.96% $ -
6D25$105.084$104.101$89.384$104.602$94.292$166.103$170.07215.87% $ 118.12
7Internetvar21$19.7718$14.8720$9.4718$16.7513$11.349$14.099$18.0310821% $ 10.74
8D134$106.7132$110.4733$109.7737$111.2851$135.2753$138.0630$126.0127052.22% $ 121.85
9D213$86.9414$95.6013$100.3019$94.5338$123.9344$123.9721$107.9816245.25% $ 111.11
10Other Discountsvar5-$18.055-$16.435$22.488$32.870$38.53-5$26.760$12.85183% $ 16.40
11D125$128.2717$140.3317$150.7221$150.0731$160.0534$166.5823$132.9716832.50% $ 148.75
12D220$146.3212$156.7612$128.2413$117.2031$121.5239$139.8223$120.1215041.90% $ 132.35
13Rack, Internet, Discounts Totalsvar25-$4.6123-$0.5931$12.1929$23.5516$24.397$16.9010$12.0514127% $ 11.72
14D163$115.9753$120.6157$124.9765$127.3887$146.4392$149.1357$129.9347491.68% $ 132.84
15D238$120.5830$121.2026$112.7836$103.8471$122.0485$132.2347$117.8833393.02% $ 121.12

<tbody>
</tbody>


<tbody>
</tbody>

S4=SUM(IF($C$3:$O$3="Rooms",$C4:$O4*$D4:$P4,0)) press CTRL+SHIFT+ENTER
 
Upvote 0

Forum statistics

Threads
1,217,307
Messages
6,135,747
Members
449,963
Latest member
palm

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