A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

New Formula Idea



 
 
Thread Tools Display Modes
  #1  
Old March 27th, 2009, 03:42 PM posted to microsoft.public.excel.worksheet.functions
david kenmuir
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
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:34 PM.


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