+ Reply to Thread
Results 1 to 10 of 10

IF Formulas or a better solution

  1. #1
    Registered User
    Join Date
    07-22-2015
    Location
    Las Vegas, Nevada
    MS-Off Ver
    MS Office 2010
    Posts
    4

    IF Formulas or a better solution

    Hi, I'm new to this forum, thank you for having me.

    I am trying to put in a formula to say:

    If A4=0 than A5 will be blank.

    I've tried several different ways, but i can't seem to get it. Also, the cells already have a formula in it, will I have to use Conditional Formatting to add a rule?

    Thank you again for the add and for your help!

    Diora

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: IF Formulas or a better solution

    Hi, welcome to the forum

    maybe this, in A5...
    =IF(A4="","",A4)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-22-2015
    Location
    Las Vegas, Nevada
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Re: IF Formulas or a better solution

    Thank you Ford.

    Since I already have a formula in there, do I add it as a rule under Conditional Formatting? I'm not sure how to add it on to formula that's already in there

    This is what I have in there currently: =VLOOKUP('Discount Store'!A4,'PRR570 7-20-15'!F7:AG10316,20,FALSE)

  4. #4
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: IF Formulas or a better solution

    You can try:

    =IF(A4="","",VLOOKUP('Discount Store'!A4,'PRR570 7-20-15'!F7:AG10316,20,FALSE))

    or

    =IFERROR(VLOOKUP('Discount Store'!A4,'PRR570 7-20-15'!F7:AG10316,20,FALSE),"")
    If I've helped U pls click on d *Add Reputation

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: IF Formulas or a better solution

    If A4 is where you have that formula, then perhaps...
    =IF(VLOOKUP('Discount Store'!A4,'PRR570 7-20-15'!F7:AG10316,20,FALSE)="","",VLOOKUP('Discount Store'!A4,'PRR570 7-20-15'!F7:AG10316,20,FALSE)

  6. #6
    Registered User
    Join Date
    07-22-2015
    Location
    Las Vegas, Nevada
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Re: IF Formulas or a better solution

    I tried both ways and it gives me an error. Am I able to post the spreadsheet?

  7. #7
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    633

    Re: IF Formulas or a better solution

    Did you try the formula suggested by FDibbins?

    If you can post your spreadsheet - please do

  8. #8
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: IF Formulas or a better solution

    =IF(A4="","",IFERROR(VLOOKUP('Discount Store'!A4,'PRR570 7-20-15'!F7:AG10316,20,FALSE),""))

    This in A5 should work correctly

  9. #9
    Registered User
    Join Date
    07-22-2015
    Location
    Las Vegas, Nevada
    MS-Off Ver
    MS Office 2010
    Posts
    4

    Re: IF Formulas or a better solution

    Thank you everyone for your responses! I finally got this to work using the formula from FDibbins

    I really appreciate your help FDibbins, bhenlee and Jdevil.

    Have a wonderful day!

    Diora

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: IF Formulas or a better solution

    Im happy you got where you wanted to be, thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Looking for a sumproduct solution or any other possible solution
    By akliot in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 04-29-2015, 11:42 AM
  2. I need a solution that will create a new sheet and copy, paste, link new formulas
    By dudebro85 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2015, 11:27 AM
  3. Replies: 1
    Last Post: 01-16-2015, 04:44 AM
  4. Sorting is throwing my formulas out of place. Looking for solution.
    By AKM1 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-04-2013, 11:31 AM
  5. Is 'ranking by' a VBA solution or a manual solution?
    By mtw2018 in forum Excel General
    Replies: 2
    Last Post: 04-10-2012, 01:47 PM
  6. Replies: 2
    Last Post: 05-19-2010, 05:14 AM
  7. Trying to find a faster solution than array formulas
    By travkliewer in forum Excel General
    Replies: 3
    Last Post: 09-09-2007, 04:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1