#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Excel Table Help

I have created a table that displays the weekdays of the month, who has the
highest commission and how much they earnt in the form:

Date | Seller| Commission | Day of the Week
01/06/09 | XX | £YY | Monday
02/06/09 | ZZ | etc....

There is also a box on the sheet near the top where you select todays date
(which is used for an entirely different function.)

The table is used for management purposes only, but a shorter version will
be made public to the sales team. This needs to display the last 5 week - ie,
working - days and the top seller and commission for that day. This will take
a similar form:

Day | Seller | Commission
Monday | X | £
Tuesday | X | £
Wednesday | X | £
Thursday | X | £
Friday | X | £

Although it wont necessarily be in that order. as it is the last 5 working
days it may be: thurs, fri, mon, tues, weds; or whatever the case may be.

I am not entirely sure about the best foruma to use to create this table. My
thought is to use a VLOOKUP on the "todays date" box (mentioned earlier) to
look for the preceding weekdays date, 2 precedinging weekdays and so forth,
on the initial table and displaye the corresponding day, seller and
commission data. My main problem is working it so it only uses weekdays.

Any suggestions? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Excel Table Help

Adam,

Let's say that your table is in columns A to D, with the headers in row 5.
In cell E6, array enter (enter using Ctrl-Shift-Enter) the formula

=IF(AND(MAX(($A$6:$A$1000=A6)*$C$6:$C$1000)=C6,(MA X($A$6:$A$1000)-6)<=A6),"Show
Me!","")

and copy down to match (if you have more than 1000 rows of data, change the
3 instances of 1000 to match your row count)

Then filter your table using column E, showing only "Show Me!"

HTH,
Bernie
MS Excel MVP



"Adam Miller" <Adam wrote in message
...
I have created a table that displays the weekdays of the month, who has the
highest commission and how much they earnt in the form:

Date | Seller| Commission | Day of the Week
01/06/09 | XX | £YY | Monday
02/06/09 | ZZ | etc....

There is also a box on the sheet near the top where you select todays date
(which is used for an entirely different function.)

The table is used for management purposes only, but a shorter version will
be made public to the sales team. This needs to display the last 5 week -
ie,
working - days and the top seller and commission for that day. This will
take
a similar form:

Day | Seller | Commission
Monday | X | £
Tuesday | X | £
Wednesday | X | £
Thursday | X | £
Friday | X | £

Although it wont necessarily be in that order. as it is the last 5 working
days it may be: thurs, fri, mon, tues, weds; or whatever the case may be.

I am not entirely sure about the best foruma to use to create this table.
My
thought is to use a VLOOKUP on the "todays date" box (mentioned earlier)
to
look for the preceding weekdays date, 2 precedinging weekdays and so
forth,
on the initial table and displaye the corresponding day, seller and
commission data. My main problem is working it so it only uses weekdays.

Any suggestions? Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default Excel Table Help

Excel 2007 PivotTable
Show last 5 working days.
User friendly formula.
http://www.mediafire.com/file/dywb0tgzdjk/06_08_09.xlsx
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
Excel 2007 Macro specific table to generic table? Sue Excel Discussion (Misc queries) 3 June 1st 08 06:12 PM
Pivot Table in Excel 2007 : Problem with % in Table spudsnruf Excel Discussion (Misc queries) 2 January 9th 08 09:53 PM
Excel Food Price Table, Programming, Is This Table All Right? Davi Excel Discussion (Misc queries) 2 June 3rd 07 12:24 PM
Create new excel table with filtered records from another table Berne van de Laar Excel Worksheet Functions 3 July 3rd 06 12:14 AM
Excel Pivot Table Plugin? (crosstab to data table) HoMoon115 Excel Discussion (Misc queries) 0 February 22nd 06 08:20 PM


All times are GMT +1. The time now is 06:45 AM.

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

About Us

"It's about Microsoft Excel"