sumproduct help

barbuella

New Member
Joined
Oct 12, 2009
Messages
21
Hello Mr. Excel Board,

I had created a separate thread yesterday asking for help using VLOOKUP for multiple criteria, but it turns out that I may instead need to use SUMPRODUCT according to one of the users which replied to my other thread. Basically, what I would like to do is show the data from only the previous day for a particular line item for a report. I think I got it to work semi-correctly, but instead of a numerical value, I get "FALSE" which isn't the desired result. Screenshots are included for where I'd like the data to appear and the sheet where this data is coming from.

Thanks!

Excel Workbook
ABCDEFGHIJKLMNOP
4Yesterday's Date5/19/2010
5
6
7
8Sum of Total Imps
9Opportunity NameCampaignPlacement DescriptionAD Line Item No.3rd Party BillingAgency AdserverActual Start DateActual End DateAd DateEnd DateAd SizeAd TypeQuantityOAS Scheduled ImpsTotalYesterday's Delivery
10abc video upfront_q2 2010#N/AGuaranteed Video ViewsTO0003443_10(blank)5/18/20105/24/20105/18/20108/24/2010300x250#N/A120,000#N/A-#N/A
11Air Force_Air Force 2010_Q2Q310TO0003247_14-Airforce-728x90Tagged Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_140(blank)5/10/201010/31/20106/1/20106/14/2010728x90IAB666,667666,6672FALSE
12TO0003247_15-Airforce-728x90Where I've Been Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_150(blank)5/10/201010/31/20105/10/201010/31/2010728x90IAB333,333333,33418#N/A
13TO0003247_16-Airforce-728x90Page Fad Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_160(blank)5/10/201010/31/20105/10/201010/31/2010728x90IAB333,333333,33412,228#N/A
14TO0003247_17-Airforce-300x250Where I've Been Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_170(blank)5/10/201010/31/20105/10/201010/31/2010300x250IAB666,667666,66717,623#N/A
scrumdetail


I need to pull data for the previous day from the "oas" tab which can be seen below. The date format I'm using, if needed to help with this, is 'mm/dd/yyyy'.

Excel Workbook
ABCDEF
1Alt Ad IDDateCampaignImps*ClicksCTR
2RE06-AppssavvyB5/1/2010RE06-AppssavvyB-728x90020.00%
3TO0002118_25/1/2010TO0002118_2-PampersSwad-1x110,014-0.00%
4TO0002119_15/1/2010TO0002119_1-PampersSen-728x902-0.00%
5TO0002119_25/1/2010TO0002119_2-PampersSen-160x6002,009-0.00%
6TO0002120_15/1/2010TO0002120_1-PampersEasy-1x14,936-0.00%
7TO0002120_25/1/2010TO0002120_2-PampersEasy-728x905-0.00%
8TO0002120_35/1/2010TO0002120_3-PampersEasy-160x6001,167-0.00%
oas
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
It's hard to see how scrumdetail and oas is related. Try to create related (easily readable) samples with less detail and shorter (shortened) entries along with the desired results, with no formulas. And SumProduct is not a panacea to everything, quite the contrary.
 
Upvote 0
hi aladin,

the scrumdetail is a basically a pivot table which uses the data on oas as a resource. oas is combined of reporting which i compile daily. basically, on the scrum detail tab, we only want to see data from the previous day to see how each account is delivering. you'll have to forgive my excel ignorance as i'm not that great with the more complex formulas, but i was told on another thread i had created that sumproduct would be the way to go. if not, any advice/help you could give would be much appreciated.

i could report a smaller sample of the data and show you how this does relate if that would help?

thanks.
 
Upvote 0
here's a more condensed version of the screenshots so you can see how scrumdetail and oas relate to each other.

Excel Workbook
ABCDEFGHIJKLMNOP
4Yesterday's Date5/19/2010
5
6
7
8Sum of Total Imps
9Opportunity NameCampaignPlacement DescriptionAD Line Item No.3rd Party BillingAgency AdserverActual Start DateActual End DateAd DateEnd DateAd SizeAd TypeQuantityOAS Scheduled ImpsTotalYesterday's Delivery
10abc video upfront_q2 2010#N/AGuaranteed Video ViewsTO0003443_10(blank)5/18/20105/24/20105/18/20108/24/2010300x250#N/A 120,000#N/A - #N/A
11Air Force_Air Force 2010_Q2Q310TO0003247_14-Airforce-728x90Tagged Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_140(blank)5/10/201010/31/20106/1/20106/14/2010728x90IAB 666,667 666,667 2FALSE
12TO0003247_15-Airforce-728x90Where I've Been Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_150(blank)5/10/201010/31/20105/10/201010/31/2010728x90IAB 333,333 333,334 18#N/A
13TO0003247_16-Airforce-728x90Page Fad Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_160(blank)5/10/201010/31/20105/10/201010/31/2010728x90IAB 333,333 333,334 12,228#N/A
14TO0003247_17-Airforce-300x250Where I've Been Social media distribution --> Targeted media across Appssavvys most popular applications for menTO0003247_170(blank)5/10/201010/31/20105/10/201010/31/2010300x250IAB 666,667 666,667 17,623#N/A
scrumdetail


here's the "oas" tab:
Excel Workbook
ABCDEF
1Alt Ad IDDateCampaignImps*ClicksCTR
2892TO0003247_155/18/2010TO0003247_15-Airforce-728x901 - 0.00%
2893TO0003247_165/18/2010TO0003247_16-Airforce-728x901,804 10.06%
2894TO0003247_175/18/2010TO0003247_17-Airforce-300x2503,751 90.24%
2895TO0003247_195/18/2010TO0003247_19-Airforce-300x2501,970 - 0.00%
oas
 
Upvote 0
barbuella

I'm not trying to be difficult...

Try to state which sheet is the source and which sheet is the destination.

Provide a sample from the source sheet (no formulas).

Provide a sample from the destination that shows the desired result(s), based on the source sheet, again with no formulas.

An example of what I mean:

Sheet1, A2:B7 (Source)

<TABLE style="WIDTH: 96pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=128><COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><TBODY><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 14.4pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=19 width=64>a</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; WIDTH: 48pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 width=64 align=right>3</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=19>a</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 align=right>2</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=19>b</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 align=right>5</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=19>a</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 align=right>6</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=19>c</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 align=right>2</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 height=19>a</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl63 align=right>6</TD></TR></TBODY></TABLE>

Sheet2 (Destination)

<TABLE style="WIDTH: 96pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=128><COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><TBODY><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 14.4pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=19 width=64>Item</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; WIDTH: 48pt; BORDER-TOP: windowtext 0.5pt solid; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 width=64>Subtotal</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=19>a</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 align=right>17</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=19>b</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 align=right>5</TD></TR><TR style="HEIGHT: 14.4pt" height=19><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent; HEIGHT: 14.4pt; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 height=19>c</TD><TD style="BORDER-BOTTOM: windowtext 0.5pt solid; BORDER-LEFT: windowtext; BACKGROUND-COLOR: transparent; BORDER-TOP: windowtext; BORDER-RIGHT: windowtext 0.5pt solid" class=xl65 align=right>2</TD></TR></TBODY></TABLE>

B2:B4 houses the desired results, based on Sheet1.

...
 
Upvote 0
Sorry about that, i've just been trying to work on this and i'm getting frustrated with my own lack of knowledge..

Sheet1, A2:D5 (source)


Sheet2, A11:P14 (destination) [sidenote: i want the results to appear in column P from the previous day]


apologies again and i truly do appreciate the help..
 
Upvote 0
sorry about the previous images, since i don't post regularly, i'm still trying to figure how to do some of this correctly on here.

Sheet1, A2:D5 (source)
akm8lvcjzuh1g1qglrc_oas.jpg


Sheet2, A11:P14 (destination) [sidenote: i want the results to appear in column P from the previous day]
mcso97k5srrrel38dw72_scrumdetail.jpg
 
Upvote 0
hello,

i thought i'd check back to see if the new information i posted helped or not. if you could let me know if this formula or perhaps another would work, i'd truly, truly appreciate it.

thanks!
 
Upvote 0
hello,

i thought i'd check back to see if the new information i posted helped or not. if you could let me know if this formula or perhaps another would work, i'd truly, truly appreciate it.

thanks!

An image cannot be copied from here and pasted into Excel...

Try to set borders around the cells and copy the area and paste it here using Internet Explorer.
 
Upvote 0
hi aladin,

here's the data with the borders broken out around it.

Sheet1, A2:D5 (source)
fl5uonsuxdverf7krr_oas.jpg


Sheet2, A11:P14 (destination) [sidenote: i want the results to appear in column P from the previous day]
jah9l8gwp738l2d99ob0_scrumdetail.jpg
 
Upvote 0

Forum statistics

Threads
1,216,122
Messages
6,128,964
Members
449,480
Latest member
yesitisasport

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