Results 1 to 6 of 6

"If" statements for multiple dates and date ranges that correspond to different formulas

Threaded View

  1. #1
    Registered User
    Join Date
    07-01-2022
    Location
    New York, US
    MS-Off Ver
    365
    Posts
    3

    "If" statements for multiple dates and date ranges that correspond to different formulas

    I have a bunch of "If And" statements, as I want to apply a certain formula depending on date range (it's a cost forecasting model by month - so, there would be a certain formula if it's before a certain date, if it's between certain dates, and after a certain date). The formula works fine until I try "book-end" it with a simple "if" statement at the beginning and at the end (e.g., if the date is less than x, then it's y calculation; if the date is more than B date, then use C calc). When I add that logic in, I get a "#VALUE" message.

    Below is the formula itself, and I have attached the spreadsheet for reference. Any help would be greatly appreciated!!

    =IF(AND(S$30>=$D$30,S$30<$E$30),$M$32*$D32,IF(AND(S$30>=$E$30,S$30<$F$30),$M$32*$E32,IF(AND(S$30>=$F$30,S$30<$G$30),$M$32*$F32,IF(AND(S$30>=$G$30,S$30<$H$30),$M$32*$G32)*0)))
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 04-24-2020, 02:41 AM
  2. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  3. [SOLVED] Need addtional criteria to count where "Actual" dates earlier that "Scheduled" DATE
    By Ochimus in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-22-2018, 07:54 PM
  4. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  5. Replies: 1
    Last Post: 01-22-2016, 09:21 AM
  6. Replies: 1
    Last Post: 01-15-2014, 08:53 AM
  7. Replies: 2
    Last Post: 08-19-2009, 02:11 PM

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