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: 5
Default Choose function in Excel 2003

I have previously used the "choose" function for sum functions that would sum
a data range for a month-to-date display. Recently we have found that one of
the updates we have ran has limited the number of agruments that the choose
function supports has been limited to 28 arguments. The problem I face is
29, 30, and 31 day months become a problem. We have not been able to
uninstall the update (assuming that this change was made with a Service Pack
update). Does anybody have suggestions on how to accomplish the same result
with a different formula?

A couple of items to help try and explain.

On the 14th day I would like to see a month to date total from the 1st to
the 14th.
On the 30th day I would like to see a month to date total from the 1st to
the 30th.

These would be simple to fix with a sum function, however, in the same sheet
I also preload daily data from the prior year, so the sum function would
always show the total from the 1st to the end of the month.

I also have a date key that we use to drive which day's data is shown so
that it is possible for me to quickly change the data that is displayed to
any day I select. this made it possible for me to see data through the 14th
of the month, even though data had been entered say to the 21st or beyond.

If it is any help, here is an example of how the formula was written prior
to the limitation of the number of arguments in the choose function (forgive
the length):

=CHOOSE(($D$3)+1,0,SUM(U7:U7),SUM(U7:V7),SUM(U7:W7 ),SUM(U7:X7),SUM(U7:Y7),SUM(U7:Z7),SUM(U7:AA7),SUM (U7:AB7),SUM(U7:AC7),SUM(U7:AD7),SUM(U7:AE7),SUM(U 7:AF7),SUM(U7:AG7),SUM(U7:AH7),SUM(U7:AI7),SUM(U7: AJ7),SUM(U7:AK7),SUM(U7:AL7),SUM(U7:AM7),SUM(U7:AN 7),SUM(U7:AO7),SUM(U7:AP7),SUM(U7:AQ7),SUM(U7:AR7) ,SUM(U7:AS7),SUM(U7:AT7),SUM(U7:AU7),SUM(U7:AV7),S UM(U7:AW7),SUM(U7:AX7),SUM(U7:AY7))

The reference to $D$3 is to the date key that displays which number of day
we are in for the month (or which day I would like to see totals through).

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
How can 0 be used in the Choose function Max Excel Worksheet Functions 3 June 16th 07 09:41 PM
what function do I use for excel to choose the 2nd highest number ematboy Excel Worksheet Functions 2 April 11th 07 01:57 AM
Choose Function UD 9 Excel Discussion (Misc queries) 1 November 25th 05 09:22 PM
CHOOSE function Mcniwram Excel Discussion (Misc queries) 1 April 21st 05 08:07 AM
CHOOSE Function Paul Excel Worksheet Functions 4 November 2nd 04 06:16 PM


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