#1   Report Post  
Jeannette
 
Posts: n/a
Default Nested Formula

How can I do the following formula: I want to pull out
the person's initial(column CM)then give me the quarter
months 1,2,3=1Q; 4,5,6=2Q; 7,8,9=3Q; 10,11,12=4Q (column
V) for that person then give me the sum of column AJ.
I'm trying to breakdown a figure (column AJ) by quarters.

Any assistance would be greatly appreciated!!

Column AJ: Column V: Column CM:
$6,200,395.00 3 RD
$456,994.00 7 KT
$9,763,383.00 1 LR
$8,451,888.00 4 RD
$8,789,548.00 5 KT
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

One way using a helper column:-
Insert a Column next to Column V and type the following formula and copy
down
=CHOOSE(V1,"q1","q1","q1","q2","q2","q2","q3","q3" ,"q3","q4","q4","q4")
Then sort it by Column CM and then by column W
Go to data subtotal and do a sum first by Column CM and then again by
column W (during second subtotal remove the replace current .. check box)

"Jeannette" wrote in message
...
How can I do the following formula: I want to pull out
the person's initial(column CM)then give me the quarter
months 1,2,3=1Q; 4,5,6=2Q; 7,8,9=3Q; 10,11,12=4Q (column
V) for that person then give me the sum of column AJ.
I'm trying to breakdown a figure (column AJ) by quarters.

Any assistance would be greatly appreciated!!

Column AJ: Column V: Column CM:
$6,200,395.00 3 RD
$456,994.00 7 KT
$9,763,383.00 1 LR
$8,451,888.00 4 RD
$8,789,548.00 5 KT



  #3   Report Post  
Dana DeLouis
 
Posts: n/a
Default

One possible formula for "quarter" might be the following assuming A1 has
the number 1-12.
=INT((A1-1)/3)+1 & " Q"

I would recommend a Pivot table, and insert the names and quarter field into
the Row area of the pivot table.
Another option would be to not insert a "quarter" field, and just construct
your pivot table with Name and month number.
Then "Group" your month numbers in groups of 3 (1-3, 4-6...etc)

HTH
--
Dana DeLouis
Win XP & Office 2003


"Jeannette" wrote in message
...
How can I do the following formula: I want to pull out
the person's initial(column CM)then give me the quarter
months 1,2,3=1Q; 4,5,6=2Q; 7,8,9=3Q; 10,11,12=4Q (column
V) for that person then give me the sum of column AJ.
I'm trying to breakdown a figure (column AJ) by quarters.

Any assistance would be greatly appreciated!!

Column AJ: Column V: Column CM:
$6,200,395.00 3 RD
$456,994.00 7 KT
$9,763,383.00 1 LR
$8,451,888.00 4 RD
$8,789,548.00 5 KT



  #4   Report Post  
Tim C
 
Posts: n/a
Default

I would name an appropriate portion of columns AJ, V, and CM as Amount,
Month and Initials.
Then in a second sheet, I would put the initials in column A and quarters in
row 1.

Then use this formula in B2 and copy it down and accross.

=SUMPRODUCT((Initials=$A2)*(INT((Month-1)/3)+1=B$1)*(Amount))

Resulting in:

1 2 3 4
RD 6,200,395 8,451,888 0 0
KT 0 8,789,548 456,994 0
LR 9,763,383 0 0 0

Tim C

"Jeannette" wrote in message
...
How can I do the following formula: I want to pull out
the person's initial(column CM)then give me the quarter
months 1,2,3=1Q; 4,5,6=2Q; 7,8,9=3Q; 10,11,12=4Q (column
V) for that person then give me the sum of column AJ.
I'm trying to breakdown a figure (column AJ) by quarters.

Any assistance would be greatly appreciated!!

Column AJ: Column V: Column CM:
$6,200,395.00 3 RD
$456,994.00 7 KT
$9,763,383.00 1 LR
$8,451,888.00 4 RD
$8,789,548.00 5 KT



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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Simple formula doesn't quite add up circeo Excel Discussion (Misc queries) 3 January 17th 05 09:04 PM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Indirect references in a linked formula Markshnier Excel Worksheet Functions 1 November 15th 04 02:49 AM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 04:03 AM.

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"