+ Reply to Thread
Results 1 to 2 of 2

Another command to IF forumla needed

  1. #1
    Registered User
    Join Date
    01-08-2018
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    14

    Another command to IF forumla needed

    Hi

    I am trying to add another command into my IF formula so that if a gender isn’t ‘F’ or ‘M’ (i.e. just blank) it will return a blank cell, rather than Male. I’m not sure if it’s an AND or OR that I need.

    Bit of background - in my original data, column A links through to a database of staff details. The main database gets refreshed so cells move up and down all the time depending on when people leave and start. I have created a formula to display a blank cell if there is no data in that cell to pull through, rather than display a load of 0’s.

    With the current formula in column B, I need from cell B11 downwards to read blank if there is no data in cell A11, so I need an ‘otherwise’ command in the formula I just can’t get my head around how to do it I’m sure its simple!

    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Another command to IF forumla needed

    there are a few ways but this is one...
    =IF(A3="F","Female",IF(A3="M","Male",""))
    if any of your data has spaces after you might make it this instead.
    =IF(A3="F*","Female",IF(A3="M*","Male",""))
    Last edited by Sam Capricci; 05-24-2018 at 07:29 AM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

+ 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. Conditional Forumla with Forumla assigned- Help needed
    By MarkoPolo in forum Excel General
    Replies: 3
    Last Post: 03-06-2014, 06:46 PM
  2. Excel 2013 Forumla needed to subtract date
    By DreaDrea in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-28-2013, 12:02 PM
  3. IF Command based on cell or IF/AND command -HELP needed
    By lsafri in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-30-2012, 08:42 AM
  4. And IF isblank .. assitance with forumla needed
    By kkempson in forum Excel General
    Replies: 1
    Last Post: 04-06-2012, 04:02 PM
  5. Forumla needed for caculating rows if and then
    By crazyph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2011, 05:43 PM
  6. Applying a forumla to a column until its not needed
    By Russ3578 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-26-2008, 09:40 PM
  7. Forumla help needed
    By yorkshirewhite in forum Excel General
    Replies: 1
    Last Post: 03-12-2006, 04:00 PM
  8. help with forumla needed... getting a yes/no answer to ??
    By shorn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2005, 06:05 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