Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8839069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:09:26+00:00 2026-06-14T10:09:26+00:00

long time no chat, I am running into a situation in where a formula

  • 0

long time no chat, I am running into a situation in where a formula I wrote up seems not to be working correctly. I know it’s probably me, but logic based programming seems to be the bane of my existence.

=IF(D1>2010,"New",IF(D1<2010,"Old",""))

Is the formula in question, now if I got this down correctly, which I thought I did, is that if D1 is greater than the year 2010 the cell would say New, and if it’s less than 2010, it would say Old.

It’s not working, for some reason I can’t figure out why.

I have a similar formula that works:

=IF($B155<>"","Full",IF($J155<>"","Full","Empty"))

I figured the logic would be similar, it seems I’m wrong. Can someone help me solve this simple quandary, logic based math has never been my strong suit. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:09:27+00:00Added an answer on June 14, 2026 at 10:09 am

    If D1=2010, there’s no true condition in IF clauses, and the result will be a blank cell ("").

    =IF(D1>=2010,"New",IF(D1<2010,"Old","")) should do the trick.

    If D1 is formatted as a Date, the following formula will give the desired result:

    =IF(YEAR(D1)>=2010,"New",IF(YEAR(D1)<2010,"Old",""))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Long-time joelonsoftware follower, 1st-time stackoverflow poster. I want to know how safely I can
I've been a long time browser here, but never have had a question that
Long time mysql/php user, first time Drupal user. Actually, I'm not doing the Drupal
I am having trouble getting my chat application working correctly. I have 2 textbox's,
long time reader, first time question-er. I've found myself in a unique situation, and
long time listener. First time caller... Not strictly a PHP question as it involves
Long time listener, first time caller. Does anyone know of a good interop library
Long time reader, first time asker. Anyway, Here's the code I'm working with: class
Long time ago I made a socket based server application using the principle of
(Long time reader of SO, first time asking a q. I'm quite new to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.