+ Reply to Thread
Results 1 to 6 of 6

Adding a If blank statement to a formula

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    491

    Adding a If blank statement to a formula

    Hello,

    I need some assistance adding to the formulas below.

    I need to return a blank if the cells are blank.

    In the first, if [FORM '#] is blank and in the second if [CR '# / EMP '#] is blank, return a blank.

    Normally I do my If (XX="","") but that wasn't working in these.

    =IF(OR([@[FORM '#]]={"N/A","Promotion","Shortage","Unreadable"}),"N/A",IF(COUNTIF([FORM '#],[@[FORM '#]])=1,"UNIQUE","DUPLICATE"))

    =XLOOKUP([@[CR '# / EMP '#]],Directory[CR '# / EMP '#],Directory[PATRON NAME / EMPLOYEE NAME])

    I appreciate any assistance.

    Thank you,
    Nick

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,926

    Re: Adding a If blank statement to a formula

    So it's not blank - but what is it? Sample workbook, please ...
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    491

    Re: Adding a If blank statement to a formula

    Thanks AliGW, I should know better to always post a sample workbook.

    Attached is a sample.
    Attached Files Attached Files

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,288

    Re: Adding a If blank statement to a formula

    These work fine for me.


    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  5. #5
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    491

    Re: Adding a If blank statement to a formula

    Awesome, thank you 6StringJazzer!

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,288

    Re: Adding a If blank statement to a formula

    You're welcome, and thanks for the rep!

+ 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. [SOLVED] Adding a blank space to an concatenated If statement
    By Ade_68 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-09-2022, 09:20 AM
  2. [SOLVED] Create multiple blank rows and adding a formula in the first newly created blank row
    By Ratso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-20-2018, 11:23 AM
  3. Adding an IF statement to a formula.
    By Stoobydoo in forum Excel General
    Replies: 3
    Last Post: 04-10-2017, 10:58 AM
  4. Adding an OR statement into formula
    By mack_76 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-21-2015, 11:43 AM
  5. Replies: 4
    Last Post: 01-27-2012, 10:57 PM
  6. Adding Another IF statement to a Formula
    By robertguy in forum Excel General
    Replies: 2
    Last Post: 08-16-2010, 11:50 AM
  7. Adding an OR statement into formula
    By dvent in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2008, 08:39 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