Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 87
Default Formula evaluation

Can someone review the following formula and tell me why I am getting the
#Value error?

=IF(Spacg8,(FULL/VLOOKUP(TYPE,ProductData,6,FALSE)/((Spacg/8)))+(BBGROUT+BEAM*EA*QTY)+(((IF(ISBLANK(LINTEL),H ALF*Setup!$C$15,HALF*Setup!$C$17))+(Setup!$C$19*CO RNERS/2))/VLOOKUP(TYPE,ProductData,6,FALSE)),BBGROUT),IF(Spa cg<16,(LENGTH*HEIGHT*QTY*EA*1.125)/VLOOKUP(TYPE,ProductData,6,FALSE))

The problem seems to be in the 2nd part of the formula from
IF(Spacg<16,(LENGTH*HEIGHT*QTY*EA*1.125)/VLOOKUP(TYPE,ProductData,6,FALSE)).
The spacg8 represents numbers 16, 24, 32, 48, etc so if the spacg is 16, 24,
32, etc I want it to perform the 1st part of the function. If the spacg is 8,
I want it to perform the 2nd part of the function. I hope this isn't
confusing.

Thanks in advance

Ed


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default Formula evaluation

#VALUE! is usually the result if you're trying to do math operations on
TEXT.

The problem seems to be in the 2nd part of the formula from
IF(Spacg<16,(LENGTH*HEIGHT*QTY*EA*1.125)/VLOOKUP(TYPE,ProductData,6,FALSE)).


If the first part of the formula works, IF(Spacg8, then you can eliminate
the lookup as a possible cause since it's common to both IFs. So, your
problem is somewhere in he

(LENGTH*HEIGHT*QTY*EA*1.125)

At least one of those named cells must have a text entry.

--
Biff
Microsoft Excel MVP


"Edward" wrote in message
...
Can someone review the following formula and tell me why I am getting the
#Value error?

=IF(Spacg8,(FULL/VLOOKUP(TYPE,ProductData,6,FALSE)/((Spacg/8)))+(BBGROUT+BEAM*EA*QTY)+(((IF(ISBLANK(LINTEL),H ALF*Setup!$C$15,HALF*Setup!$C$17))+(Setup!$C$19*CO RNERS/2))/VLOOKUP(TYPE,ProductData,6,FALSE)),BBGROUT),IF(Spa cg<16,(LENGTH*HEIGHT*QTY*EA*1.125)/VLOOKUP(TYPE,ProductData,6,FALSE))

The problem seems to be in the 2nd part of the formula from
IF(Spacg<16,(LENGTH*HEIGHT*QTY*EA*1.125)/VLOOKUP(TYPE,ProductData,6,FALSE)).
The spacg8 represents numbers 16, 24, 32, 48, etc so if the spacg is 16,
24,
32, etc I want it to perform the 1st part of the function. If the spacg is
8,
I want it to perform the 2nd part of the function. I hope this isn't
confusing.

Thanks in advance

Ed




  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1,388
Default Formula evaluation

Hi,
You can try selecting parts of the formula in the formula bar, and pressing
F9, which evaluates the selection.
You have to select a piece of the formula that can stand on its own. eg, you
could select:
VLOOKUP(TYPE,ProductData,6,FALSE)
or
Spacg8
or
BBGROUT+BEAM*EA*QTY
or
HALF*Setup!$C$15,HALF*Setup!$C$17
or
IF(ISBLANK(LINTEL),HALF*Setup!$C$15,HALF*Setup!$C$ 17))
or
Setup!$C$19*CORNERS/2)

Each of these should return a value or a True/False. If any of them returns
the Value error, then the problem is contained within that selection.

Hope this helps
Regards - Dave.
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
Formula evaluation in excel prgram created with VB Eddie Morris Excel Discussion (Misc queries) 2 October 28th 08 03:44 PM
VLOOKUP FORMULA EVALUATION NEEDED SSJ New Users to Excel 3 March 29th 08 04:15 PM
Evaluation Sheet perplexed Excel Worksheet Functions 2 March 10th 06 10:51 PM
IF formula - evaluation shows it should work but... Juliet Excel Worksheet Functions 6 January 17th 06 10:39 PM
dealer evaluation AB Excel Worksheet Functions 1 June 15th 05 02:17 PM


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