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

    Dec 22, 2012

    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

    Oct 2, 2003
    First Name:
  3. Rollin_Again


    Sep 4, 2003
    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())

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!

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