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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 06-03-2005, 11:15 AM   #1 (permalink)
Member
 
00Seven's Avatar
 
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
00Seven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 06-04-2005, 05:07 PM   #2 (permalink)
Retired
 
Chevy's Avatar
 
Join Date: Jul 2003
Location: Notlob
Posts: 5,452
OS: Vista Ultimate

My System

Quote:
When there is no value in E9, F9 and G9, it still pulls the value of E$
What is H9 equal to in this case? If all are blank, then the first true condition will be carried out.
Chevy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 03:54 AM   #3 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

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,""))))
Blue bold writing shows the additions. What it does is checks to see if all three are blank, if so puts a blank, otherwise does the original formula.
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 06:46 AM   #4 (permalink)
Member
 
00Seven's Avatar
 
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,""))))
00Seven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 07:00 AM   #5 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

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."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 07:51 AM   #6 (permalink)
Member
 
00Seven's Avatar
 
Join Date: May 2005
Location: South Carolina
Posts: 38
OS: WinXP


This formula seems to work:

=IF(H9="","",IF(H9=E9,E$8,IF(H9=F9,F$8,IF(H9=G9,G$8,""))))
00Seven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 08:49 AM   #7 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

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."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 08:57 AM   #8 (permalink)
Member
 
00Seven's Avatar
 
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?
00Seven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-06-2005, 10:20 AM   #9 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

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."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-07-2005, 02:42 AM   #10 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

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)
This will round the values back to the nearest cent and allow the checker to notice they are actually equal. It's highly unlikely the error will ever be more than half a cent, but if you do find it happens, you can use the rounddown function instead.
__________________
"Sorry, the number you have dialled is imaginary. Please rotate dial by 90 degrees and try again."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-07-2005, 06:26 AM   #11 (permalink)
Member
 
00Seven's Avatar
 
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.
00Seven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-07-2005, 11:46 AM   #12 (permalink)
Member
 
00Seven's Avatar
 
Join Date: May 2005
Location: South Carolina
Posts: 38
OS: WinXP


Never mind I think I got it. I was thinking in the wrong section, it was not the VB, it was an ajustmetn in the sheets and formula.

Gosh I must be a pain in the but sometimes.
00Seven is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 06-07-2005, 12:08 PM   #13 (permalink)
Superhuman Computer
 
ReeKorl's Avatar
 
Join Date: Mar 2005
Location: 6th Circle, The City of Dis, Hell
Posts: 1,610
OS: WinXP Pro SP2

My System

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."
ReeKorl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 03:27 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85