[英]Add More One Formula In same cell from another cell
Add More One Formula In same cell from another cell 在另一个单元格的同一单元格中添加更多一个公式
Like That 像那样
=IF(H7="**cafee latee L**";**22**;0)<br />
the other formula that i want to add the same with different name and price 另一个我希望用不同的名称和价格添加相同的公式
=IF(H7="**cafee latee R**";**19**;0)<br />
that mean if you find in H7 Word " " put Price if find "
" put price ...etc 这意味着,如果你在H7中找到了单词“ " put Price if find "
“放价格”, " put Price if find "
把价格......等等
尝试使用嵌套的IF子句:
=IF(H7="cafee latee R",22,IF(H7="cafee latee L",19,0))
Although the answer by @identifymecnu will work but "Nesting IF" become really difficult to handle after ~10 items. 虽然@identifymecnu的答案可行,但“嵌套IF”在~10项之后变得非常难以处理。
You can create a table (TEST) with two column headers (ITEM, VAL) & populate every row with a new item & its value. 您可以使用两个列标题(ITEM,VAL)创建一个表(TEST),并使用新项及其值填充每一行。
Then use following formula : 然后使用以下公式:
=INDEX(TEST[VAL],MATCH(H7,TEST[ITEM],0))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.