1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Append current YEAR into a Formula ???

Discussion in 'Business Applications' started by FPerg, Dec 22, 2012.

Thread Status:
Not open for further replies.
  1. FPerg

    FPerg Thread Starter

    Joined:
    Dec 22, 2012
    Messages:
    1
    Hello

    I have the below in a CELL...

    CELL A1 for Bob

    =SUMPRODUCT((Clarity!$A$1:$A$3000=A27)*(Clarity!$B$1:$B$3000="January 2012"),Clarity!$E$1:$E$3000)

    CELL A2 for Bob
    =SUMPRODUCT((Clarity!$A$1:$A$3000=A27)*(Clarity!$B$1:$B$3000="February 2012"),Clarity!$E$1:$E$3000)

    (etc., etc., one for each month, compounded by COLUMNS "A through J" for other people).

    Everything works but I need to insert something better than a literal "2012" in every CELL when accounting for future year flips, i.e., 2013, etc., or I will have to update 12 monthly CELLS for every individual every new calendar year... is there a way to insert a MACRO or a predefined CONSTANT for each of the twelve monthly CELLS, such as;

    ="January " & NOW(YEAR) or something different that works ????

    Thanks in advance :(
     
  2. etaf

    etaf Moderator

    Joined:
    Oct 2, 2003
    Messages:
    65,429
    First Name:
    Wayne
  3. Rollin_Again

    Rollin_Again

    Joined:
    Sep 4, 2003
    Messages:
    4,912
    I'm still a bit confused by what you are asking for. The formula below should work unless I a misunderstanding what you are asking for.

    ="January " & YEAR(NOW())


    Rollin
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1081986

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice