If/then worked 2 weeks ago but now ...??

GeorgiaGal

New Member
Joined
Aug 20, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Is anyone an Excel worksheet Macro user?
I'm having difficulty with a macro formula working and now it doesn't.
i.e. Examples:

In F3451: =SUM(F3402:F3450) (Will always be NEGATIVE)
In G3451: =SUM(G3402:G3450) (Will always be POSITIVE)
In H3451: =F3451+G3451 (Should always be NEGATIVE)
The above are computing correctly.

In H3453: _____________ (I manually enter a POSITIVE figure)
In I3453: =NOW() (formatted mm/dd/yyyy)

In H3454: =H3451+H3453 (Ideally should be zero)
In I3454: =IF((F3451+G3451+H3453=0),"Good","Whoops")

H3451 is the sum of a column of negative numerics.
H3453 is the sum of a column of positive numerics.

The dilemma: Up until several weeks ago, I3454 would result in Good or Whoops.
If the resulting expression became Whoops, I would research and correct to receive the Good response.

Otherwise, response is Good, then All is A-Okay and desirable.

NOW The Dilemma/Issue: The result is always Whoops even when I manually see it should be Good. It's ***as though*** it's not recognizing the computation but rather the formula (which is written in alpha/numerics.)
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
What are the values displayed in cells F3451, G3451, H3453 that cause I3454 to show "Whoops" even though you think it should show "Good"?

If I walk back your formula in I3454:
=IF((F3451+G3451+H3453=0),"Good","Whoops")
F3451 references F3402:F3450
G3451 references G3402:G3450
H3453 is a value, manually entered

You also mention I3453, H3454, H3451 but they appear to be irrelevant to this formula.
 
Upvote 0

Forum statistics

Threads
1,215,110
Messages
6,123,139
Members
449,098
Latest member
Doanvanhieu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top