LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default colating multi rows of data into single rows - no to pivot tables!

the formula below allows me to state the number of days by month i.e. 10 days
from 23rd April means 8 in April and 2 in May.
I have 2 issues with it though.

{=IF($H$16:$H$30=A4,SUMPRODUCT(--ISNUMBER(MATCH(ROW(INDIRECT($B4&":"&$C4)),ROW(INDI RECT(DATE(YEAR(D$1),MONTH(D$1),0)+1&":"&D$1)),0))) ,)}
Issue 1:
H16:h30 is a list of names, A4 is the name of the student
Using the formula I can divide the dates over the months but for some
reason when I try to match a name (a4) against the list (h16:h30) I only ever
match the first name i.e. what is in h16??? other wise I get a "FALSE"
statement.

Issue 2: How can I amend the formula to only show the "working days" in the
return value i.e. 10 days from 23rd April means 6 in April and 4 in May.

many thanks




 
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
always display rows in Pivot tables (show items with no data) Tausif Excel Discussion (Misc queries) 1 August 4th 09 01:14 PM
Multi rows to single row jostlund Excel Discussion (Misc queries) 1 January 26th 07 12:17 AM
Putting data into pivot tables in columns not rows. ACP Excel Discussion (Misc queries) 1 August 24th 05 01:18 PM
Combining Pivot Tables - Summarising data from 100,000 rows Alan Excel Discussion (Misc queries) 1 May 18th 05 10:09 PM
Pivot Tables: How do I show ALL field rows, including empty rows?? [email protected] Excel Worksheet Functions 2 April 8th 05 06:21 PM


All times are GMT +1. The time now is 04:35 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"