+ Reply to Thread
Results 1 to 5 of 5

Formula basis the result of condition

  1. #1
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Formula basis the result of condition

    Hi,

    I need formula for the below condition.

    If cells last two numbers are (from right side) 01 or 02 or 03 then result should be =mid A1,2,2) subtract by 1. if not result should be = mid(A1,2,2)

    Row A B
    1 19201 91
    2 12103 20
    3 14502 44
    4 12118 21

    Kindly help

    Regards
    Prabhu

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,225

    Re: Formula basis the result of condition

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



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Formula basis the result of condition

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Spammer
    Join Date
    06-27-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Formula basis the result of condition

    Thank You TMS & mehmetcik !!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,225

    Re: Formula basis the result of condition

    You're welcome.

+ 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. Add record in same line on basis of condition
    By sanjuss2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2015, 04:53 AM
  2. Copying the data from one sheet to another on the basis of yes/no condition
    By shantnuchaurasia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-25-2013, 12:32 PM
  3. if condition formula result either completed or incompleted
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2013, 08:51 PM
  4. [SOLVED] Change formula result on basis of date selected
    By Knawl in forum Excel General
    Replies: 2
    Last Post: 06-26-2013, 10:58 AM
  5. [SOLVED] Help for if condition formula result only either hit or miss from mulitple condition
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 07:29 AM
  6. Replies: 10
    Last Post: 12-09-2011, 11:03 AM
  7. Replies: 4
    Last Post: 12-01-2011, 08:34 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