+ Reply to Thread
Results 1 to 2 of 2

conditional statement for customers

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    conditional statement for customers

    I need a formula that looks to see if a customer filed a claim in year 1. If they didn't AND they renewed (meaning they continued on into year 2) I would like G to return a value of yes.

    For example, customer 1, in year 2 renewed (by definition, year 2 is a renewal of year 1) and they DID place claims in year one so the value in G would be NO.

    Year 1 is not relevant because it's the first year and there is no renewal decision.

    Spreadsheet is attached.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: conditional statement for customers

    Not exactly sure which year you want to text for the claim, so I took the previous year...
    =IF(AND(C6=C5,E5=1),"No","Yes")


    If you want it based on the row year...
    =IF(AND(C6=C5,E6=1),"No","Yes")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Determine repeat customers vs. new customers based on purchase date
    By mktgdude in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-02-2013, 04:10 AM
  2. Conditional Statement In VBA
    By laguna92651 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-21-2012, 12:46 PM
  3. Conditional MAX Statement?
    By ExpatYankee in forum Excel General
    Replies: 4
    Last Post: 11-18-2011, 10:21 AM
  4. Conditional Statement
    By vino3007 in forum Excel General
    Replies: 12
    Last Post: 08-23-2011, 09:56 AM
  5. How to use conditional statement
    By maverick3483 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2009, 05:39 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