Need cell reference to change based on condition.

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
413
Office Version
  1. 2013
Platform
  1. Windows
Cell B4 has the value 20% Cell B5, B6, B7, B8 and B9 are all currently empty. Cells D5 - D9 each have a value. Cells E5 - E9 currently have this formula =D5*$B$4 with D5 changing do D6, D7, D8 and D9. Here's what I need. If any of B5 - B9 have a value, I want the formula for the corresponding E5-E9 to change so instead of looking at $B$4, it looks at the value in B5, B6, B7, B8 or B9 accordingly. Thank you in advance.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Got it figured out =IF(B5="",$B$4*D5,$B5*D5) Thanks
 
Upvote 0

Forum statistics

Threads
1,213,533
Messages
6,114,179
Members
448,554
Latest member
Gleisner2

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