Calculating a value base on senarios

NZAS

Board Regular
Joined
Oct 18, 2012
Messages
117
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi

I need some help for a formula to do some caclculations.
Cell A1 has a value xxx at times
Cell A2 has a value xxx at times
There are time when only one of these cell could have a value in them. The formula I am looking for is
If cell A1 or A2 has a value multply value in cell multply by 1 ie a value in either cell not both

If cell A2 has value and cell A1 has value the multply cell C1 by 2 and add to A1 or A2 value

These are the likly senarios

Senarios
cell A12310
cell A21010
Cell C1171717
Here cell C1 is multiplied 341717
Add cell c1 to A1 and or A2 depending on if values in cell
A4 cell672727

<tbody>
</tbody><colgroup><col><col span="3"></colgroup>


Answer A4 67 27 27 Need the formula in cell A4

Cheers
NZAS
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Thankyou M
That has work great for me
Cheers
NZAS
 
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,971
Members
449,059
Latest member
oculus

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