+ Reply to Thread
Results 1 to 4 of 4

=IF @ one cell X or Y show Z

  1. #1
    Registered User
    Join Date
    02-01-2017
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    9

    =IF @ one cell X or Y show Z

    I have this formula which works great:



    =IF([@[payment method]]="paypal";"y";"n")



    but i want to update it to show also "Y" if @[payment method]] there is "paypal" and also "visa" for example.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: =IF @ one cell X or Y show Z

    Try


    =IF(OR([@[payment method]]="paypal";[@[payment method]]="Visa");"y";"n")

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: =IF @ one cell X or Y show Z

    Do these work?

    =IF([@[payment method]]="paypal";"y";IF([@[payment method]]="visa";"y";"n"))

    or maybe

    =IF(OR([@[payment method]]="paypal";[@[payment method]]="visa");"y";"n")
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Registered User
    Join Date
    02-01-2017
    Location
    portugal
    MS-Off Ver
    2016
    Posts
    9

    Re: =IF @ one cell X or Y show Z

    Thank you guys.

    reputation given.

+ 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: 2
    Last Post: 05-29-2017, 11:03 AM
  2. Replies: 6
    Last Post: 09-06-2014, 10:50 AM
  3. [SOLVED] One TextBox Show Column and the other show Cell address Solved by : ragulduy
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-26-2014, 05:17 AM
  4. Replies: 2
    Last Post: 02-24-2014, 08:20 PM
  5. Replies: 12
    Last Post: 05-10-2013, 11:12 AM
  6. Replies: 4
    Last Post: 11-17-2008, 12:15 PM
  7. Replies: 1
    Last Post: 04-11-2008, 02:02 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