![]() |
Error showing up as #VALUE! in if function
Hi,
I have given Function =IF(G931,G93+14,IF(G93<1," ")) in Column G,H,I & J what happen is, if the date is there in the column F then everything is ok, (As all the Column G,H,I & J are related to each other whereas the column G is related to column F) but the problem is when the date is not in Column F then the Column H,I & J shows up and error as #VALUE!. What I want is even if the date is not there in column F the Column H,I & J should not show up the error #VALUE Please help -- vijay |
Error showing up as #VALUE! in if function
"vijay" wrote:
What I want is even if the date is not there in column F the Column H,I & J should not show up the error #VALUE Well, I don't see any reference to column F in your formula, and the comment "As all the Column G,H,I & J are related to each other whereas the column G is related to column F" does not help to clarify this. But making an assumption, perhaps the following paradigm will help: =IF(F93="", "", IF(F931,F93+14, IF(F93<1,""))) Note: I replace " " with "" (no space) in the last term. It is poor form to use " " (with space); it will likely screw up other formulas that attempt to recognize a "blank" cell. But your original logic is flawed: it fails to take care of the case when F93 (G93) is zero, resulting in FALSE :-(. And I wonder if the conditional expression F93<1 is a kludge that you intended to take care of the case when "the date is not there". So perhaps one of the following is a better solution: =IF(F93="", "", F93+14) =IF(F93="", "", IF(F931, F93+14, "")) ----- original message ----- "vijay" wrote in message ... Hi, I have given Function =IF(G931,G93+14,IF(G93<1," ")) in Column G,H,I & J what happen is, if the date is there in the column F then everything is ok, (As all the Column G,H,I & J are related to each other whereas the column G is related to column F) but the problem is when the date is not in Column F then the Column H,I & J shows up and error as #VALUE!. What I want is even if the date is not there in column F the Column H,I & J should not show up the error #VALUE Please help -- vijay |
All times are GMT +1. The time now is 01:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com