Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default HELP! In desperate need of a formula

Gotcha! That's where my $602.00 went! I changed the formula to say:
=SUMIF($A$2:$A$5,"John",$D$2:$D$5) and it worked perfectly....Seriously...How
does it feel to be someone's hero tonight??? I can't thank you enough! :)

"Eric" wrote:

Formula in C8: =SUMIF($A2:$A5,$A8,C2:C5)
Formula in D8: =SUMIF($A2:$A5,$A8,D2:D5)


C2:C5 and D2:D5 should also have a dollar sign in front of the 2's and 5's.
Otherwise when you copy down, it'll become C3:C6, etc.

If you only need to sum up one data element (hours or total dollars), you'll
definitely want to do the pivot table.

And I'd do the pivot table just to make sure you have all your attorneys
names covered that appear in the invoice. You can copy and paste just the
column with the attorney names as the basis for your SUMIF summary and know
that you have all the names and that they're spelled exactly the same as in
the detail with 100% confidence. Just ignore the other data the pivot table
returns and then you can delete the pivot table after you've pulled out the
names.

Translation: Take a minute NOW (even thought you're incredibly busy and on
deadline) to learn what a pivot table is. You will get that minute back at
least 20 times over in preparing this current invoice, and it will be
invaluable knowledge many times in the future.

"Joanna" wrote:

Thanks SOOOO much, Eric! That is exactly what I need....I think. I'll try
this and see what happens! Thanks for all your help! I'll let you know how it
goes!

Joanna

"Eric" wrote:

Somewhere along the line there has to be a number of hours to apply to the
rate?

And I'm assuming that each attorney has more than one line charge, otherwise
you could do a sort of the one line for each attorney to get your data in a
logical order without formulas.

In any event, a SUMIF function is probably your answer.

A simple example:

Col A Col B Col C Col D
1 Name Rate Hours Total
2 John $100 50 $5,000
3 Dave $50 20 $1,000
4 Dave $50 40 $2,000
5 John $100 20 $2,000
6 Total 130 $10,000

Now, below that you employ your SUMIF summaries to tie to the $10,000 total
to wind up with:

8 Dave 60 $3,000
9 John 70 $7,000
10 Total 130 $10,000

Formula in C8: =SUMIF($A2:$A5,$A8,C2:C5)
Formula in D8: =SUMIF($A2:$A5,$A8,D2:D5)

Copy C&D down to Row 9 to replicate.

Note that the spellings of "Dave" and "John" in A8 and A9 must be an exact
match to the way they're spelled in A2:A5 for this to capture the line items
properly, and you need to account for every attorney in the summary section.
Check that you captured everything in the summary by doing a total on both
sections.

Good luck!


"Joanna" wrote:

I'm working on a settlement statement that is 112 pages. Column G=the
attorneys' name and Column F=rates for the different attorneys. Different
attorneys have different rates. At the end of my statement, I have a section
that needs to tally each attorey's fee for a total. I can't come up with a
formula that will calculate this. Please help! I'm up against a hard
deadline! Thanks in advance!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Desperate max power Excel Discussion (Misc queries) 0 December 29th 06 01:52 AM
Desperate for an answer Maad Maxx Excel Discussion (Misc queries) 0 March 7th 06 09:41 PM
Desperate...please help! sas Excel Worksheet Functions 3 January 22nd 06 08:09 PM
In desperate need of help.... mrskitz Excel Discussion (Misc queries) 3 January 13th 06 02:48 PM
Desperate NEED!!!! huntr357 Excel Worksheet Functions 3 April 21st 05 04:47 PM


All times are GMT +1. The time now is 01:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"