I have a worksheet that I need help on (See attached).
I need a formula that can track the total # of people impacted (Column 'E') per presenter (Column 'A') , but I need the formula to be able to account for lessons that occured on the same day (Column 'C').
Example:
A ............B...............C..........D.....E
Arun....Lesson 5.....14-Nov...3.75...18
Arun....Lesson 8.....14-Nov...3.75...18
Arun....Lesson 11...14-Nov... 3.75...18
Arun....Lesson 9.....10-Oct....3.75...30
Arun....Lesson 10...31-Oct....3.75...31
Sam....Lesson 5.....14-Nov...3.75...18
Sam....Lesson 8.....14-Nov...3.75...18
Ben.....Lesson 11...14-Nov... 3.75...18
Ben.....Lesson 9.....10-Oct....3.75...30
Ben.....Lesson 10...31-Oct....3.75...31
For "Arun", a basic SUM function would return 115, but I need a formula that would return a value of 79, because Lessons 5 8 & 11 occured on the same day and only impacted 18 people (i.e., not 54)
Last edited by StephenAF; 12-16-2011 at 11:40 AM.
Couldn't you accomplish it with a pivot table?
I '<3' reputation. If I helped, click the scales. This will be helping an internal departmental competition with co-workers.
Reputation can be granted through the Scales Icon (for classic layout), or the little Star on the bottom of the post next to the blogging function for the new forum layout.
If you're not busy, and really feel down on life, read my excel blog which may or may not have contents.
I've tried that, but the way I'm already using the pivot table just totals the numberws per presenter as a whole. So the numbers are much hire than they really are. I need this formula so that I can have the correct info in the source data for the pivot table.
Hi StephenAF,
See the attached file and let me know if this works for you
Regards,
DILIPandey
<click on below 'star' if this helps>
DILIPandey
+919810929744
dilipandey@gmail.com
Hi DILIPandey,
The results were exactly what I needed, but I need them to show in one cell that is apart of the source code. This dummy sheet represents a piece of a much larger sheet that acts as the source code for another pivot table.
The ideal state is a formula that can calculate the #'s to the total on your sheet, but not in a pivot table format.
Cheers,
StephenAF
This formula will give the Arun's Total # of people impacted (EXCLUDING duplicate dates)
=SUM(IF(SIGN(FREQUENCY(IF(Table4[Presenter]="Arun",Table4[Date]),Table4[Date])),Table4['# of people impacted]))
Confirmed with CTRL+SHIFT+ENTER
HTH; Haseeb
If your problem is solved, please say so clearly, and mark your thread as Solved:
Forum Rules & How to Mark a thread as SOLVED
Haseeb,
That's amazing! Thank you. That works perfectly. Surprisingly I'm already using a code VERY similar to this in this workbook, but I couldn't seem to adjust it for this purpose.
Thank you very much everyone for your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks