A little direction...

brandonrlz

New Member
Joined
Jul 29, 2011
Messages
30
First...best find!! The site and video's are pure awesome and help provide me with a lot of refresher courses as well as new tactics so thanks to everyone!!

Here's my dilemma...I did some searching but couldn't really find anything that really targets what I'm trying to do, so any direction on how to approach this would be fantastic!!

I've got three columns in a spreadsheet that I want to slim down to one level and use some conditional formatting to build a dashboard out of it. That part won't be to difficult to do; however, I'm having a little bit of a brain fart in how to accomplish this.

Column 1 - Column 2 - Column 3
Bob - 1 - 1
Bob - 2 - 2
Bob - 3 - 3
Bill - 4 - 4
Bill - 5 - 5
Bill - 6 - 6
Steve - 7 - 7
Steve - 8 - 8
Steve - 9 - 9

What I want to do is take each line item and combine/calculate it into one line item.

Bob - 12
Bill - 30
Steve - 48

I've tried using "sumif" to do this; however, it's only capturing the first column of data.

Code:
=SUMIF(A1:A9,"Bob",B1:C9)

I'm wondering if doing an array would work better in this situation, or if I should be taking a different approach entirely.

Thanks for the help and insight on this.
 
Here you go.

Excel Workbook
AB
26NameRange
27custJan2011='Sheet1'!$A$9:$A$1338
28custCMBJan2011='Sheet1'!$C$9:$D$1338
Sheet4


Here's a snippet of the data within the name range:

Sheet 1
Excel Workbook
ACD
9Customer A4,548,7783,539,052
10Customer A4,548,7783,539,052
11Customer A4,548,8203,539,052
12Customer A315,332257,639
13888694,9367,051
1488874,6316,811
15888803,193284,351
Sheet
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I think I understand what the problem is...because there are duplicates it's adding those additional values; however, here's more of the snippet of the RAW that get's spit out to me. I've been ignoring the "B" column as it's not really important to me in this particular formula.

Excel Workbook
ABCD
9Customer Ap0014,548,7783,539,052
10Customer Ap0024,548,7783,539,052
11Customer Ap0034,548,8203,539,052
12Customer Atest315,332257,639
13888p001694,9367,051
14888p00274,6316,811
15888p003803,193284,351
Sheet 1
 
Upvote 0
{=IF(ROWS($A6:A6)>$A$1,"",INDEX(custJan2011,SMALL(IF(FREQUENCY(IF(custJan2011<>"",MATCH(custJan2011&"",custJan2011&"",0)),ROW(custJan2011)-ROW('PEPM Extract 2011'!$A$9)+1),ROW(custJan2011)-ROW($A6)+1),ROWS($A6:A6))))}


ROW('PEPM Extract 2011'!$A$9)+1)

what is this in relation to the formula? why A9 ?
ROW(custJan2011) <----- range used is it in any relation to PEPM Extract 2011'! ?

it is hard to follow your logic as to what these ranges refer to - the ranges you show fail to this any relation to the above. I am stumped:(
 
Last edited:
Upvote 0
:( Sorry let me add some clarification and additional data that will hopefully help.

Excel Workbook
ABCD
7Jan 2011
8Customer InstanceProfileValue 1Value 2
9Customer Ap0014,548,7783,539,052
10Customer Ap0024,548,7783,539,052
11Customer Ap0034,548,8203,539,052
12Customer Atest315,332257,639
13888p001694,9367,051
14888p00274,6316,811
15888p003803,193284,351
Sheet 1


Excel Workbook
AB
26NameRange
27custJan2011='Sheet1'!$A$9:$A$15
28custCMBJan2011='Sheet1'!$C$9:$C$15
Sheet4


Excel Workbook
AB
172
2
3
4Jan-11
5CustomerCombined Values
6Customer A24,836,503
7888102,911,262
Combined 2011


As mentioned its taking some of the values and duplicating it like that in my previous post. Does that help or make sense now?
 
Upvote 0
I fail to understand the way your range names are related to row counts. Hence I take a bow and leave the stage....

Click on the Post Reply button, and just put the word BUMP in the post. Then, click on the Submit Reply button, and someone else will assist you.
 
Upvote 0
Snoop - I stepped back and stripped everything out to recreate it in a basic setting just to get the concept of it all down.

Once that was done I added the puzzle pieces (name ranges) to it all. Doing that, I realized what I jacked up!! :rofl: I'm glad I did that as well as taking a break from it....cause everything you pointed out and helped me with worked perfectly! :banghead:

Thanks a TON for the help.
 
Upvote 0

Forum statistics

Threads
1,224,621
Messages
6,179,946
Members
452,949
Latest member
beartooth91

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