Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-01-2009, 09:51 PM
Excelpadawan Excelpadawan is offline
Registered User
 
Join Date: 01 Jul 2009
Location: Forest, Naboo
MS Office Version:Excel 2007
Posts: 2
Excelpadawan is becoming part of the community
Data is in Rows, Analysis Page in Columns

Please Register to Remove these Ads

I am having issue setting up an analysis page for a report that I have. I am trying to find out for each individual what are the currently working on, completed, and the average time it took to complete. I have the data but it is in the following format:

Name Started Done
Julie 24-Jun 27-Jun
Tom 24-Jun
Julie 24-Jun 27-Jun
Julie 24-Jun
Ken 24-Jun 27-Jun

The way I need the data appear with the name above with the data below as shown below.

Julie Tom
Working 1 1
Complete 2 -
Avg Time 3 -



I am having issue because the data isn't setup in a column format. Also the data list is constantly growing so I want it to be something that can update itself so I am not constantly updating the report. Please I need a excel guru to crack this case.
Reply With Quote
  #2  
Old 07-01-2009, 11:15 PM
kellyfspringer kellyfspringer is offline
Registered User
 
Join Date: 06 May 2009
Location: Pennsylvania, USA
MS Office Version:Excel 2007
Posts: 82
kellyfspringer has been very helpful
Re: Data is in Rows, Analysis Page in Columns

There may be a better way of doing this, but.
I would use concatenate and sumif to make this happen.


I set it up in the attached spreadsheet in a way that you can add to it.
Attached Files
File Type: xls projecttime.xls (18.5 KB, 8 views)
Reply With Quote
  #3  
Old 07-01-2009, 11:46 PM
JBeaucaire's Avatar
JBeaucaire JBeaucaire is offline
Forum Guru
 
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003 (can read 2007 files)
Posts: 9,517
JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay
Send a message via Skype™ to JBeaucaire
Re: Data is in Rows, Analysis Page in Columns

The key column on the data page for completion time is a good idea since it alleviates the need for nasty array formulas, but the rest of the calculations can be done without the extra columns with normal worksheet functions.

Attached.
Attached Files
File Type: xls ProjectTime.xls (17.5 KB, 17 views)
__________________
If you've been given good help, use the icon in that post to give reputation feedback, it is appreciated.
Always put your code between [code] and [/code] tags.
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
Reply With Quote
  #4  
Old 07-04-2009, 12:55 AM
kellyfspringer kellyfspringer is offline
Registered User
 
Join Date: 06 May 2009
Location: Pennsylvania, USA
MS Office Version:Excel 2007
Posts: 82
kellyfspringer has been very helpful
Re: Data is in Rows, Analysis Page in Columns

JB-
So awesome! I'm trying to figure out how your formula is looking at both criteria... can you give me a little hint?

I could use this for a few things that I do, as well... and it would be great if I could avoid inserting columns of concatenates
Reply With Quote
  #5  
Old 07-04-2009, 01:26 AM
JBeaucaire's Avatar
JBeaucaire JBeaucaire is offline
Forum Guru
 
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003 (can read 2007 files)
Posts: 9,517
JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay
Send a message via Skype™ to JBeaucaire
Re: Data is in Rows, Analysis Page in Columns

SUMPRODUCT() with the --() criteria inside converts all the TRUE/FALSE answers that each array creates into 1/0, and as you know, multiply anything by 0 and you get zero.

Basically, it's a really cool COUNTIF().

So when the two arrays of 1s and 0s created by the two criteria formulas inside the SUMPRODUCT() are multiplied against each other, only the ones that BOTH result in TRUE create the 1x1 formula.

Shorten the range down to 10 cells or so, then use the Evaluate Formula icon to watch the formula unfold one calculation at a time...watch it build the two arrays of 1s and 0s, then multiply them together, adding all the 1s left over.
__________________
If you've been given good help, use the icon in that post to give reputation feedback, it is appreciated.
Always put your code between [code] and [/code] tags.
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)

Last edited by JBeaucaire; 07-08-2009 at 12:22 AM.
Reply With Quote
  #6  
Old 07-08-2009, 12:15 AM
kellyfspringer kellyfspringer is offline
Registered User
 
Join Date: 06 May 2009
Location: Pennsylvania, USA
MS Office Version:Excel 2007
Posts: 82
kellyfspringer has been very helpful
Re: Data is in Rows, Analysis Page in Columns

Breakthrough, thanks!
I feel like I did when I first learned vlookup how did I ever live without it
Reply With Quote
  #7  
Old 07-08-2009, 12:22 AM
JBeaucaire's Avatar
JBeaucaire JBeaucaire is offline
Forum Guru
 
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003 (can read 2007 files)
Posts: 9,517
JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay
Send a message via Skype™ to JBeaucaire
Re: Data is in Rows, Analysis Page in Columns

If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].
__________________
If you've been given good help, use the icon in that post to give reputation feedback, it is appreciated.
Always put your code between [code] and [/code] tags.
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)

Last edited by JBeaucaire; 07-08-2009 at 12:27 AM.
Reply With Quote
  #8  
Old 07-08-2009, 02:15 AM
DonkeyOte's Avatar
DonkeyOte DonkeyOte is offline
Forum Guru
 
Join Date: 22 Oct 2008
Location: Suffolk, UK
MS Office Version:2002 & 2007
Posts: 13,645
DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute
Re: Data is in Rows, Analysis Page in Columns

JB, you know that as much as I love SUMPRODUCT I would avoid where possible given performance overheads it brings with it and here given OP is seemingly running 2007 you could use COUNTIFS/SUMIFS instead which are more efficient (particularly when dealing with large volumes of data / formulae), so instead of:

B3: =SUMPRODUCT(--(Data!$A$1:$A$1000=B$2),--(Data!$C$1:$C$1000>0))

I would (in XL2007) opt for:

B3: =COUNTIFS(Data!$A$1:$A$1000,B$2,Data!$C$1:$C$1000,">0")

Obviously in cases where backwards compatability is an issue, pending volume of data, I would most likely adopt kellyfspringers suggestion of concatenation on Data and COUNTIF/SUMIF over SUMPRODUCT.
Reply With Quote
  #9  
Old 07-08-2009, 07:17 AM
mishra.ananda mishra.ananda is offline
Registered User
 
Join Date: 08 Jul 2009
Location: Bangalore
MS Office Version:Excel 2007
Posts: 3
mishra.ananda is becoming part of the community
Re: Data is in Rows, Analysis Page in Columns

Can anybody help me.I could not find how to post in new forum
Reply With Quote
  #10  
Old 07-08-2009, 07:43 AM
DonkeyOte's Avatar
DonkeyOte DonkeyOte is offline
Forum Guru
 
Join Date: 22 Oct 2008
Location: Suffolk, UK
MS Office Version:2002 & 2007
Posts: 13,645
DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute
Re: Data is in Rows, Analysis Page in Columns

Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.


mishra.ananda, I moved your prior post on this thread into an entirely new thread.

Please ensure you take the time to read the Forum Rules before posting any further.
Reply With Quote
  #11  
Old 07-09-2009, 08:37 PM
Excelpadawan Excelpadawan is offline
Registered User
 
Join Date: 01 Jul 2009
Location: Forest, Naboo
MS Office Version:Excel 2007
Posts: 2
Excelpadawan is becoming part of the community
Re: Data is in Rows, Analysis Page in Columns

Thanks so much for everyones help! This is awesome
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump