简体   繁体   English

我可以根据另一个单元格的 5 个特定值更改一个单元格的值吗?

[英]Can I change the value of a cell based on 5 specific values of another cell?

Not sure if I worded this correctly to be honest.老实说,不确定我的措辞是否正确。 I'm fairly new to excel. I want the value of A3 to change based on the value of A1.我是 excel 的新手。我希望 A3 的值根据 A1 的值进行更改。 There is no formula as these are specific predetermined values.没有公式,因为这些是特定的预定值。

If A1=60, A3 should be 75
If A1=35, A3 should be 98
If A1=12, A3 should be 140

I'm wondering if this is possible.我想知道这是否可能。 Feel free to suggest other answers if this has been asked already.如果已经有人问过,请随意提出其他答案。 I didn't really know how to word it so I just might not have been able to search for my issue.我真的不知道怎么说,所以我可能无法搜索我的问题。

So, as per my linked answer, same process:因此,根据我的链接答案,相同的过程:

在此处输入图像描述

Nested if(), but needs editing if changes happen.嵌套 if(),但如果发生更改则需要编辑。 The table can have the changes and the vlookup will use the new values.该表可以进行更改,并且 vlookup 将使用新值。 If the behaviour needs to change then 0 can be 1 in the vlookup and values of A1 lower than 35 will return 140 etc如果行为需要改变,那么 vlookup 中的 0 可以是 1,A1 的值低于 35 将返回 140 等

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM