VBA editor or IF function? -

Robert_G

New Member
Joined
Jul 13, 2018
Messages
48
I'm not sure this is possible. Maybe VBA?

Ex 1: I want to select A3 (Turn Down Ratio), B3 (Number of sets), and C3 (Full Scale). Then in column E it will divide the Full Scale into 5 sets by the Turn Down Ratio in A3.

Then shown in Ex 2, if I change the Value in A3 and B3, it will then divide C3 by 8 sets in B3 and now a 5:1 turn down based on A3.

I currently have a spreadsheet that will automatically turndown the full scale but only a fixed sets of 5.






35db2ox.png



xavz1w.jpg
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Nice challange :)

Paste this formula to E3 and copy down:
=IF(ROW()<$B$3+3,$C$3-((($C$3-($C$3/$A$3))/($B$3-1))*(ROW()-3)),"")

However, second scenario resulting different than yours somehow...
 
Last edited by a moderator:
Upvote 0
Thanks. Your equation is correct and my copy and past on the second scenario above was copied wrong. Thanks for your help, worked like a charm. I don't know why I had such a mental block with this.
 
Upvote 0
Thanks. Your equation is correct and my copy and past on the second scenario above was copied wrong. Thanks for your help, worked like a charm. I don't know why I had such a mental block with this.

Sometimes you stuck... I am sure there are several shorter ways to calculate these kind of problems but I come up with a longer solution. No problem ;)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
Members
453,021
Latest member
Justyna P

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