Help with this Formula

Cosmop001

New Member
Joined
Oct 20, 2016
Messages
2
Hi
I am new to the forum and even though i have used excel for years what function to use has got me stumped. I have a spread sheet that every time we get a sales inquiry, the job gets allocated to a member of staff. From a drop down menu you select the staff members name, on the same row it has details of the job, a drop down menu to say whether the job has been accepted declined or Quote Sent and quote amount and the date. So for a simple example A1 has a drop down of Staff names, D1 has the Declined, Accepted or Quote Sent menu and J1 has the Job Value E1 has the date. On a new Sheet i want to separate the staff and their monthly sales into accepted declined or pending and add the totals of the job value.

At first i thought =IF command but i get stuck. My interpretation would be if A1= Bill and D1 =Accepted i need to add up J1 on the new sheet. The same for other staff and other selections in the status column.

Assigned toQuoteSource(Tel,Email,Repeat, Recom, CC)PBCodeStatusEventDateDate Quote InDateQuoteSentType of FunctionNo# GuestsEstimate (ex Vat)Total (Inc VAT)
DanelleEmailW14120185DVTQuote sent19/08/201719/10/201619/10/2016Sit down120£139,105.00£166,926.00
DanelleEmailW14120186DVTQuote sent29/04/201719/10/201620/10/2016Sit down85£6,705.00£8,046.00
KreenaEmailC14120187KPDeclined24/11/201619/10/2016Canapés60£0.00
DanellePhoneC14120188DVTQuote sent12/11/201620/10/201620/10/2016Other40£176.00£211.20
DanelleEmailP14120189DVT25/11/201620/10/201620/10/2016Canapés30£0.00

<tbody>
</tbody>


Next work sheet

I want

Date Range01/10/201601/01/2017
AcceptedPendingQuote SentDeclinedTotal
Chelsea£89.00£25.00£30.00£20.00£164.00
%54%15%18%12%100%
Danelle£0.00£13,900.00£0.00£0.00£13,900.00
%0%100%0%0%100%
Kreena£0.00£1.00£0.00£0.00£1.00
%0%100%0%0%100%
Charlotte£0.00£1.00£0.00£0.00£1.00
%0%100%0%0%100%

<tbody>
</tbody>


Anyway help would be appreciated

Thanks

Cosmop
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi and welcome to MrExcel,

try this:


Excel 2016 (Windows) 64 bit
ABCDE
1Date Range1-10-20161-1-2017
2AcceptedPendingQuote SentDeclinedTotal
3Chelsea£ - £ - £ - £ -
4%0%0%0%0%
5Danelle£ -£ 175.183,20£ -£ 175.183,20
6%0%100%0%100%
7Kreena£ - £ - £ - £ -
8%0%0%0%0%
9Charlotte£ - £ - £ - £ -
10%0%0%0%0%
Sheet2
Cell Formulas
RangeFormula
B5=SUMPRODUCT((Sheet1!$A$2:$A$6=Sheet2!$A5)*(Sheet1!$D$2:$D$6="")*((Sheet1!$F$2:$F$6>=Sheet2!$D$1)*(Sheet1!$F$2:$F$6<=Sheet2!$E$1))*(Sheet1!$K$2:$K$6))
B6=IFERROR(B5/$E5,0)
C5=SUMPRODUCT((Sheet1!$A$2:$A$6=Sheet2!$A5)*(Sheet1!$D$2:$D$6=C2)*((Sheet1!$F$2:$F$6>=Sheet2!$D$1)*(Sheet1!$F$2:$F$6<=Sheet2!$E$1)),Sheet1!$K$2:$K$6)
C6=IFERROR(C5/$E5,0)
D5=SUMPRODUCT((Sheet1!$A$2:$A$6=Sheet2!$A5)*(Sheet1!$D$2:$D$6=D2)*(Sheet1!$F$2:$F$6>=Sheet2!$D$1)*(Sheet1!$F$2:$F$6<=Sheet2!$E$1),Sheet1!$K$2:$K$6)
D6=IFERROR(D5/$E5,0)
E5=SUM(B5:D5)
E6=SUM(B6:D6)
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,982
Members
449,201
Latest member
Lunzwe73

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