Closed Thread
Results 1 to 3 of 3

IF and MID function

  1. #1
    Registered User
    Join Date
    10-09-2018
    Location
    Singapore
    MS-Off Ver
    Office 2010
    Posts
    11

    IF and MID function

    Hi All,

    Nice to meet you all.
    Can you please provide me a solution that I'm encountering.

    There is a Scan ID 0019-0000-00-000

    I would like to make a condition
    if the last 3 digit ends with xxxx-xxxx-xx-000 then the result will show Customer ID.
    If the last 6 digit ends with xxxx-xxxx-00-000 then the result will show Meter ID.
    If the last 10 digits ends with xxxx-0000-00-000 then the result will show Store ID.

    But I have some difficulties facing the issue.
    First of all I use MID function and IF function.
    Please suggest me how to solve this issue.

    Thanks you for your support.

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: IF and MID function

    Duplicate thread

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,413

    Re: IF and MID function

    Please read our simple forum rules, in particular, rule #5, and abide by them in the future.

    Thread closed.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  2. Replies: 2
    Last Post: 04-23-2017, 12:04 AM
  3. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  4. VBA code for custom function that returns detail results of array function
    By onechipshot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2015, 06:30 PM
  5. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  6. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 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