Formula to update certain cells

Mldeuser

Well-known Member
Joined
Dec 27, 2008
Messages
574
Office Version
  1. 365
Platform
  1. Windows
Hello

I am looking to see if there is a way to write a formula that would sum a set of cells in a column but only update the amount if another cell had Yes in it, if it had no it would not update the number.

for example

Cells F10 through F15 contain hard coded numbers, cell F6 has a formula to sum those cells if cell D6 has "Yes" in it. If it said "No" in cell D6 then it would not update the amount in cell F6. I am looking to do this for cells F6, F7 and F8 at anytime only one of these cells will need to be updated, the other two will keep the amount they currently have in them.

Is this possible?

Thank you
 

Attachments

  • Sample.PNG
    Sample.PNG
    32.9 KB · Views: 21

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hello

That did not work as it is assuming Yes is in cells D7:D13.

Yes will in this case is in D7 so what I need is cell F7 to update if any numbers in cells F10:F15 are changed. I need the numbers in cells F8 & F9 to stay the same as they have NO in cells D8 & D9

Thank you
 
Upvote 0
We can try, I would prefer a formula if possible as I am not the one who will be using the workbook.

Thank you
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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