Closed Thread
Results 1 to 3 of 3

IF and MID function

  1. #1
    Registered User
    Join Date
    MS-Off Ver
    Office 2010

    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
    MS-Off Ver

    Re: IF and MID function

    Duplicate thread

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)

    Re: IF and MID function

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

    Thread closed.

    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

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


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