+ Reply to Thread
Results 1 to 16 of 16

Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

  1. #1
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Dear Masters,

    Your valuable help is required to solve the issue I have in the formula above that if A1 (contains Yes-1) left(A1,3=yes then Right(A1,1) should come otherwise 0. I've applied the formula as =if(left(A1,3="Yes",Value(Right(A1,1),0)) but getting error.

    Sorry if I'm unable to explain here, pls find the attached screenshot of the formula.

    Best Regards,
    Kashif
    Attached Images Attached Images
    Last edited by kskhan; 06-10-2016 at 07:20 PM. Reason: Solved

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Welcome to the board.

    A
    B
    C
    1
    Yes-1
    1
    B1: =IF(LEFT(A1,3) = "Yes", --RIGHT(A1), 0)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

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

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Or

    =(LEFT(A1,3)="Yes")*RIGHT(A1)

  5. #5
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Thanks Boss It Works Perfectly. May I know why do we need to write Right as --Right?

    Regards,
    Kashif

  6. #6
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    696

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    IF(LEFT(A1,3)="Yes",CONCATENATE(LEFT(A1,3),RIGHT(A1,1)),0)

  7. #7
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Thanks to everyone for the Great Help.
    You Guys Rocks. Stay Blessed & Thanks again.

    Regards,
    Kashif

  8. #8
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Gents,

    Now the =Sum(B1:B225) Formula is not working on the conditional column .

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    result of RIGHT(A1) or RIGHT(A1,1) is treated as text so SUM() will ignore text values
    --RIGHT(A1) is treated as number (the same 1*RIGHT(A1) or 0+RIGHT(A1) )
    use formula from #2

  10. #10
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Thanks a lot Sandy, Got it & worked perfectly.

  11. #11
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    You are welcome.

    If problem is resolved mark thread as solved and add star to person(s) who helped you. Thank you
    Last edited by sandy666; 06-10-2016 at 07:15 PM. Reason: typo

  12. #12
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Sandy Today is my first day here so can you please guide me for this also.
    Sorry for keep disturbing you.

  13. #13
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    every post has star on the left bottom side,
    solved thread - go to your first post , to the right side over your first post . there is Thread Tools, click and mark Solved.
    btw. next time be more descriptive with your full problem not only with the part of.

  14. #14
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Now OK and thanks for the feedback

  15. #15
    Registered User
    Join Date
    06-10-2016
    Location
    Qatar
    MS-Off Ver
    2016
    Posts
    18

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    Thanks for The Support & Ur Time
    You deserves 5 Stars
    Regards,
    Kashif

  16. #16
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help for =if(left(A1,3="Yes",Value(Right(A1,1),0))

    It's nice, thanks

+ 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. Replies: 35
    Last Post: 01-13-2016, 02:16 AM
  2. Adding multiple "find" with "left" /"Right"
    By Daniel1 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-22-2014, 04:33 PM
  3. "left" , "right" or "mid" a range then find
    By dwx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 10:15 AM
  4. [SOLVED] Expanded and collapsed the rows by toggle "+" or "-" sign on left of the text
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-24-2013, 02:49 PM
  5. Vlookup LEFT of the "^" sign, IF "^" is present in the string
    By ConstantinV in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-02-2013, 03:26 PM
  6. Applying a "Left" formula to an entire column with heading "ValueCol"
    By aad401 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2012, 04:14 PM
  7. Replies: 5
    Last Post: 06-26-2006, 09:23 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