#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default New Formula Idea

I would like a formula that can equate a letter with an number, add the given
range, but also not do anything if there is a blank cell...

for example if i have a chart of a-e, and beside it a column with monetary
values. below this chart i have a calendarweek that has the letters listed
maybe a in day one, but maybe day two has both a and b, so the columns would
be day 1-7, and rows might be a-e... i need to sum the monetary values below
the calendarweek. i have tried using if then statments, and vlookup. the
problem is if there is a blank cell excel gives an error.

=IF(F10<"",(SUM((VLOOKUP($F$10,$A$2:$C$6,3,FALSE) ),(VLOOKUP($F$11,$A$2:$C$6,3,FALSE)),(VLOOKUP($F$1 2,$A$2:$C$6,3,FALSE)),(VLOOKUP($F$13,$A$2:$C$6,3,F ALSE)),(VLOOKUP($F$14,$A$2:$C$6,3,FALSE)))),FALSE)

this is a formula i am trying to use, the problem is i start out with if f10
isn't blank then do my formula. if it is blank, type false. but if it is
false, then the rest are messed up b/c the formula uses all five rows and
without a value to vlookup there is an issue.

my suggestion is a formula that can reference a cell in this manner: the
cell might say A, but the value is 1000. so then you could just do:
=sum(F10:F14) and it would add 1000 + etc.

if you have further need for explaination, please let me know as i really
would like to figure this out without macros vba and the like.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...et.f unctions
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
Help!! No idea where to go next... TJaques Excel Discussion (Misc queries) 4 February 28th 07 08:22 PM
I've no idea how to do this. :( MagnoliaSouth Excel Worksheet Functions 3 June 28th 06 09:07 PM
any idea? CC Links and Linking in Excel 1 May 12th 05 12:37 AM
any idea?? NF Excel Worksheet Functions 1 April 24th 05 02:51 AM
Help Please. No Idea what to look for or how to do this David Chadwick ([email protected]) Excel Discussion (Misc queries) 0 February 28th 05 04:19 PM


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