+ Reply to Thread
Results 1 to 5 of 5

IF function to automatically catergorise data

  1. #1
    Registered User
    Join Date
    10-09-2012
    Location
    sydney
    MS-Off Ver
    Excel 365
    Posts
    71

    IF function to automatically catergorise data

    hi guys.

    i need help with the following if statement. im not very good with the if statement. i need a formula which depending on the value of column a and column b gives an output in text.

    for example : if column a = 0 and column b = greater than 0 then column c needs to say Casual Rental
    if column a = 0 and column b is than or equal to 0 then column c needs to say Normal
    if column a = greater than 0 and column b = less than or equal to 0 then column c needs to say Extension
    if column a = greater than 0 and column b = greater than 0 column c needs to say Extension then rental

    i have attached my data

    i would appreciate any help!

    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: IF function to automatically catergorise data

    Put this in C2:

    =IF(A2<=0,IF(B2>0,"Casual Rental","Normal"),IF(B2>0,"Extension then Rental","Extension"))

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-09-2012
    Location
    sydney
    MS-Off Ver
    Excel 365
    Posts
    71

    Re: IF function to automatically catergorise data

    thanks for your help, i have managed to determine which category they fall into via column J. i now need help depending on what the status of the data is.
    if the status in column B is Received, Paid Out, Sold or Rent Stopped then i need the category in column J to change to Inactive.
    if the status in column B is On Rental then the formula in Column J is correct.

    hope this makes sense!

    thanks
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: IF function to automatically catergorise data

    Well, it's 2:00 am here, so I can't help you anymore tonight - I need some sleep.

    Pete

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: IF function to automatically catergorise data

    look at the end of the columns for options...

    Data workbook.xlsx
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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