2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Formula not adding dates correctly (Excel Web, Windows)

I have a sheet that is referencing another sheet that is populated by a Form.

The 3 columns in particular I have issues with are:

Quantity (B), Received Date (D), and Projected Date (H).

I have a Formula for Projected Date (H) that is supposed to add 3, 5, or 7 work days to the date in Received Date (D) depending on the Quantity(B) number.

=IF(D2="", "", WORKDAY(D2, IF(B2 > 30000, 5, IF(B2 > 150000, 7, 3))))

If there's nothing in D, display Blank, and then to add the appropriate amount of days to the Date in D depending on the Quantity(B).

I've been running tests and am running into oddities with how many days are added to the Received Date (D) when the formula creates the Projected Date (H).

A Job with 2/3/2026 in (D) is showing 2/6/2026 in (H) like it should. Quantity (B) is 16,000

But then the very next line, which also has 2/3/2026 in (D) is showing 2/10/2026 in (H) with a Quantity(B) of 2,000.

Since both are under 30,000 in quantity they should both be showing 2/6/2026, but for some reason, the smaller quantity job is getting 7 days added instead of just 3.

submitted by /u/metalflygon08
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#financial modeling with spreadsheets
#Excel alternatives for data analysis
#AI formula generation techniques
#natural language processing for spreadsheets
#generative AI for data analysis
#Excel compatibility
#rows.com
#Excel
#Formula
#Projected Date
#Received Date
#Quantity
#WORKDAY
#Oddities
#Date
#Form
#Testing
#Days
#Blank
#Work days