Set a cell's decimal places by the value of another cell

daheefman

New Member
Joined
Jan 11, 2016
Messages
3
Here is my workbook

On the Calibration sheet I have a Data Validation drop down menu which allows me to select from Description on the List sheet Table. Each entry has a DP value that they report to.Users can select a balance and start entering weights in the Weight 1 - 10 Rows, but I need the number of DP used in those cells to match the number of DPs the balance reports in.


It would be easy with cell formula but I can't see how this will help because the cells I want to have this formatting are the same cells I want users to enter data into.


Because I want more balances to be able to be added to the table in the future I don't think conditional formatting will help either because AFAIK one rule would be needed for each balance...


Any solutions? Thanks for the help guys!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Because I want more balances to be able to be added to the table in the future I don't think conditional formatting will help either because AFAIK one rule would be needed for each balance...

Hi
Welcome to the board

No, you could build a table with all the balances and respective DP's and use 1 rule for each DP Value.

For ex.:

[TABLE="width: 128"]
<colgroup><col style="width:48pt" span="2" width="64"> </colgroup><tbody>[TR]
[TD="class: xl63, width: 64"]balance[/TD]
[TD="class: xl63, width: 64"]DP
[/TD]
[/TR]
[TR]
[TD="class: xl63"]balance1[/TD]
[TD="class: xl63, align: right"]1
[/TD]
[/TR]
[TR]
[TD="class: xl63"]balance2[/TD]
[TD="class: xl63, align: right"]1
[/TD]
[/TR]
[TR]
[TD="class: xl63"]balance3[/TD]
[TD="class: xl63, align: right"]2
[/TD]
[/TR]
[TR]
[TD="class: xl63"]balance4[/TD]
[TD="class: xl63, align: right"]1
[/TD]
[/TR]
[TR]
[TD="class: xl63"]balance5[/TD]
[TD="class: xl63, align: right"]3
[/TD]
[/TR]
[TR]
[TD="class: xl63"]balance6[/TD]
[TD="class: xl63, align: right"]3
[/TD]
[/TR]
</tbody>[/TABLE]

Then the conditional formatting rules would look for the balance in the table and set the DP.

Does this help?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
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