Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 6
Default Using a Date and corresponding weekday to pull amounts

Hello,

I’m back again and in need of some assistance. I don’t know if this is possible but I’m trying to create a formula that will use a date to pull my average for that particular weekday (Monday, Tuesday,…or Friday). This is very hard to explain so I will use the scenario below.

A1 07/22/2013

Monday Tuesday Wednesday Thursday Friday
2132 1539 1317 1712 393
Newest Number 1506 1552 1163 1417 212
1642 1261 1148 1366 190
Oldest Number 1704 1223 1160 1462 258

Total 4852 4036 2308 4245 660

Daily Average 1746 1393.75 1157 1489.25 263.25


The formula will determine if the date 07/22/2013 is a Monday, Tuesday etc and return the corresponding Daily Average number. In this example, 07/22/2013 is a Monday so my result should be 1746. When I change the date to 07/26/2013 which is a Friday, then the formula should give me 263.25.

I hope this explains what I’m looking for. I apologize in advance for any typos or grammatical errors.

Thank you.

Addatone
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Using a Date and corresponding weekday to pull amounts

Hi,

Am Tue, 30 Jul 2013 19:44:24 +0100 schrieb Addatone:

A1 07/22/2013

Monday Tuesday Wednesday Thursday Friday
2132 1539 1317 1712 393
Newest Number 1506 1552 1163 1417 212
1642 1261 1148 1366 190
Oldest Number 1704 1223 1160 1462 258

Total 4852 4036 2308 4245 660

Daily Average 1746 1393.75 1157 1489.25 263.25


the headers of your table are in A2:F2, the daily average in row 10
Then try:
=INDEX(10:10,MATCH(TEXT(A1,"dddd"),A2:F2,0))


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
How to compute date of next weekday? [email protected] Excel Discussion (Misc queries) 4 July 31st 08 02:05 AM
convert weekday date to the next sunday date Oldersox Excel Worksheet Functions 2 January 8th 07 11:26 AM
WEEKDAY() function: display TEXT not numeric weekday tom Excel Discussion (Misc queries) 3 November 21st 06 04:32 PM
Show Weekday with date??? Rutgers_Excels Excel Discussion (Misc queries) 3 April 5th 06 03:44 PM
Getting weekday for a date schoujar[_7_] Excel Programming 6 September 2nd 05 11:01 AM


All times are GMT +1. The time now is 07:53 PM.

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"