+ Reply to Thread
Results 1 to 5 of 5

If Statements (?) - If Cell1 =yes then give -Cell2, If Cell1=no then give +Cell2

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    If Statements (?) - If Cell1 =yes then give -Cell2, If Cell1=no then give +Cell2

    Hi all - This is probably a pretty basic question (I'm not amazing with excel) but I am hoping someone can help!

    Basically, if Colum C= yes then I want the data in Column M to be displayed in reverse signage, in a new column e.g. column N. Any thoughts?
    Last edited by KTXD; 11-02-2012 at 12:24 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Help with IF statements (?)

    =if(Cx="yes",-Mx,""). Put this in column N. The x represents the row number. I assumed that if C<>yes, then you want a blank in Column N. If this is not the case, then let us know more information
    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-01-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Help with IF statements (?)

    Oops - sorry - I got eager for lunch and left off that if it is "No" I need it to poplate the number as it appears in column M.

    So if Cx=yes then -Mx, Cx=no then Mx.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Help with IF statements (?)

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    HTH
    Regards, Jeff

  5. #5
    Registered User
    Join Date
    11-01-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: If Statements (?) - If Cell1 =yes then give -Cell2, If Cell1=no then give +Cell2

    YAY - I got there on my own

    The soultion I used for those who might be interested:

    =IF(Cx="Yes",-Mx,(IF(Cx="No", Mx,"")))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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