Results 1 to 7 of 7

Multiple IF statements and LEFT function in one cell

Threaded View

  1. #1
    Registered User
    Join Date
    07-12-2016
    Location
    Estonia
    MS-Off Ver
    2016
    Posts
    12

    Multiple IF statements and LEFT function in one cell

    Hello

    In column C i have ID numbers. The first digit refers to gender and in column D needs values based on that. If it is male than "M" and if female than "F".

    3 and 5 - male
    4 and 6 - female

    I have tried using different IF nesting functions but haven't found one that works. For example =IF(LEFT(C3;1)=3;5;"M";IF(LEFT(C3;1)=4;6;"N")), but this says that too many arguments for this function.

    Hopefully someone can lead me to the right path with this
    Attached Files Attached Files
    Last edited by AliGW; 12-15-2021 at 10:01 AM. Reason: Restricted word redacted.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Multiple Match variable combine with Left function
    By rogrand in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2021, 04:58 PM
  2. [SOLVED] If/or/not multiple with left function
    By Questray in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 05-05-2020, 12:07 PM
  3. [SOLVED] running a function with multiple variables left blank
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2016, 04:03 PM
  4. Writing function with multiple (13) if/and/then statements
    By JOHNROK in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-03-2012, 10:03 AM
  5. [SOLVED] If And Or Left function in multiple cells
    By sans in forum Excel General
    Replies: 13
    Last Post: 04-24-2012, 04:30 AM
  6. Excel 2007 : Left Function with possible IF statements?
    By jantonio in forum Excel General
    Replies: 3
    Last Post: 01-08-2010, 08:29 PM
  7. Logical Function - Multiple IF statements
    By vnsrod2000 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-04-2005, 08:06 PM

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