![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Member
Join Date: May 2005
Location: South Carolina
Posts: 38
OS: WinXP
|
Back with another Excel IF problem
How can I get this formula to leave blank if there is no value in H9?
=IF(H9=E9,E$8,IF(H9=F9,F$8,IF(H9=G9,G$8,""))) When there is no value in E9, F9 and G9, it still pulls the value of E$8 Thanks |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#3 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
Try this:
Code:
=IF(AND(ISBLANK(E9),ISBLANK(F9),ISBLANK(G9)),"",IF(H9=E9,E$8,IF(H9=F9,F$8,IF(H9=G9,G$8,""))))
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again." |
|
|
|
|
|
#4 (permalink) |
|
Member
Join Date: May 2005
Location: South Carolina
Posts: 38
OS: WinXP
|
H9 is this formula that selects the lowest value of E9, F9 and G9
=IF(ISERROR(ROUND(ls3(E9,F9,G9),2)),"",ROUND(ls3(E9,F9,G9),2)) This did not work: =IF(AND(ISBLANK(E9),ISBLANK(F9),ISBLANK(G9)),"",IF(H9=E9,E$8,IF(H9=F9,F$8,IF(H9=G9,G$8,"")))) |
|
|
|
|
|
#5 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
Hmm... should have worked. Can you post the file again (sorry - I deleted the previous old versions) and I'll see what should be there.
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again." |
|
|
|
|
|
#7 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
Arg, I'm thinking far too complexly again.
Yeah, that should sort out the problem quite easily. Nice one.
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again." |
|
|
|
|
|
#8 (permalink) |
|
Member
Join Date: May 2005
Location: South Carolina
Posts: 38
OS: WinXP
|
ReeKorl....
The Whold Project works great now, but I have a slight problem where some figures after lines 85 are not dropping in even though the formula is ok. Then after a another section, no figures are inputted. I have changed this far from the test one and do not realy want to put it on the site for all to see, is there a way I can send it to you to look at? |
|
|
|
|
|
#9 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
I have PM'd you my email address. Send it there and I'll have a look at it for you.
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again." |
|
|
|
|
|
#10 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
OK, two updates here. Some of the lines aren't dropping in because vendor1's prices sheet had blanks in the cost section - put them in as 0's instead and it works.
Next, in some cases (for some strange reason) the VLookup brings back values slightly different to their true values from the prices sheet. It's probably the decimal->binary->decimal conversion again. This is stopping the correct lowest vendor text being produced. In columns E F and G on the Inventory page, you'll need to put this in: Code:
=round(original formula goes here,2)
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again." |
|
|
|
|
|
#11 (permalink) |
|
Member
Join Date: May 2005
Location: South Carolina
Posts: 38
OS: WinXP
|
I am a dummy, I did not see I had missed putting them in.
I changed the array numbers to increase the length of the sheet, but the program stops putting data into the Inventory sheet at line 171 or item code 10164. Last edited by 00Seven; 06-07-2005 at 06:43 AM. |
|
|
|
|
|
#13 (permalink) |
|
Superhuman Computer
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2
|
Not at all, I'm glad to help
Glad you got it working.
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again." |
|
|
|
![]() |
| Thread Tools | |
|
|