LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rob Rob is offline
external usenet poster
 
Posts: 234
Default Week vs. Week VBA Function

Hi,

I regularly need to show a percentage difference between sales of this week
versus last week and use one or the other formula below; what would be nice
is to have a custom Function that allowed just the last week and this week
cells to be entered eg. =LWDIF(B2, A2). It would also help if like in Excel
a prompt was shown when entering the formula eg. LWDIF(thisweek, lastweek)
and I was allowed to use the keyboard arrows to navigate to the relevant
cells.

90 100 =(B1-A1)/A1
90 100 =(B2/A2)-1


Any help would be most welcomed.

Thanks in advance, Rob


 
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
Convert regular Date to Week Ending or Week Beginning Dates Sam H Excel Discussion (Misc queries) 5 April 3rd 23 04:39 PM
Auto calculate day of week to week of the year (not as serial) oftenconfused Excel Discussion (Misc queries) 4 June 23rd 08 05:14 PM
Tie a Calendar week to a Scoped Projected Week [email protected] Excel Worksheet Functions 3 October 31st 06 01:34 PM
How do I set up a week by week skill training schedule in excel? davidwatts Excel Discussion (Misc queries) 0 June 16th 05 11:32 PM
I need week number in excell from a date, first week must be mini. jPeich Excel Discussion (Misc queries) 4 January 5th 05 01:21 AM


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

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"