+ Reply to Thread
Results 1 to 3 of 3

If, then question

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    12

    If, then question

    Hi,

    I am looking for a formula to understand if an item has a first time demand.

    Basically, I have 12 months and either numbers or zeros in each

    Therefore, if I was looking to see if there is first time demand for December I think the formula should be something like:

    If A12 = "x" number and A1 - A11 = "0" then show "x" number or 0

    I hope that someone can understand...
    Last edited by Clint; 05-21-2012 at 09:02 AM.

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

    Re: If, then question

    If I understood correctly, then your formula should read like this:

    =IF(And(A12=x,A1-A12=0),x,0) where you would substitute some number for x.
    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
    05-03-2012
    Location
    Switzerland
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: If, then question

    Thanks, in the end I needed the following

    =If(and(or(J2>1;J2=1);Sum(K2:U2)=0);"First time"; "not first")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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