+ Reply to Thread
Results 1 to 4 of 4

If Year equals 1999 then multiply cell by x

  1. #1
    Registered User
    Join Date
    05-05-2004
    Posts
    2

    If Year equals 1999 then multiply cell by x

    Just looking for a formula that will allow me to do a calculation that will differ based on the year indicated in a date column... such as if year =1999 then multiply A2 by .75.

    I can't figure this out and the help program isn't doing me any good. This has to be easier than I'm making it.

    Any suggestions?

    Thanks!

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    If your date is in F4 and your data to calculate is in G4, use this formula:

    =IF(YEAR(F4)=1999,G4*0.75,"not 1999")

    You don't say what to do if the year is not 1999, so in my example I simply return a text entry that tells you the year isn't 1999.

    Does this work for you?
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    05-05-2004
    Posts
    2
    I'm all set now, Thanks!

  4. #4
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Glad that worked for you. Thanks for the feedback, it is always appreciated.

    Cheers!

+ 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