If function help

krisso

Active Member
Joined
Sep 16, 2005
Messages
291
I am not sure if this is possible or not but I am trying to write an if condition for a sum on a spreadsheet that if it doesn't meet the criteria that it doesn't calculate and leaves the previous value

This is my if statement =IF(A1="final",SUM('Post 9-30am payments'!B1+'Post 9-30am payments'!L1),Previous Value)

Basically this is a daily figures spreadsheet and A1 will have a value of updating until the date is changed to todays date and then the value will change by way of another if statement to Final when the date matches todays date.

Is this possible?

Thanks
Chris
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
say A1 = 100 and you want it to be 200 if B1="RED" but stay at 100 if B1 is not "RED"

this cannot be done with a formula, but is easy with a macro

if cells(1,2) = "RED" then cells(1,1)=200

cells (1,1) [A1] is not amended unless B1 = "RED"
 
Upvote 0
I thought it was the case.

I can't use a macro as the sheet is used through excel online

Thanks for the help though
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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