ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formulas (https://www.excelbanter.com/excel-discussion-misc-queries/56818-formulas.html)

John Q

Formulas
 
I have a cell with a simple currency formula in it. I want to add a specific
dollar amount to the formula result IF a single value from a group of 5
values appears in another cell.
--
Thank you. John Q.

Dave Peterson

Formulas
 
Without more details, maybe something like:

=A1+IF(OR(B1={"a","b","c","d","e"}),22,0)



John Q wrote:

I have a cell with a simple currency formula in it. I want to add a specific
dollar amount to the formula result IF a single value from a group of 5
values appears in another cell.
--
Thank you. John Q.


--

Dave Peterson

Dave Peterson

Formulas
 
Or if those 5 values were in E1:E5

=A1+IF(ISNUMBER(MATCH(B1,E1:E5,0)),22,0)



John Q wrote:

I have a cell with a simple currency formula in it. I want to add a specific
dollar amount to the formula result IF a single value from a group of 5
values appears in another cell.
--
Thank you. John Q.


--

Dave Peterson


All times are GMT +1. The time now is 02:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com