ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Is there a formula to do the following (https://www.excelbanter.com/excel-discussion-misc-queries/130187-there-formula-do-following.html)

GF

Is there a formula to do the following
 
if a certain letter is placed into a cell such as "y" (for yes) can it make
anouther cell with info taken from still anouther cell. Example in rows B2
through B72 we will make as a withdrawl from a bank account. now in G2
through G72 we make as is this a taxable expence Y for yes N for no. we will
make H2 through H72 taxable total. Now say $22.00 is placed in B2 and Y is
selected in G2 is there a way to get the amount in B2 over to H2 automaticly
when Y is selected using a fomula.

T. Valko

Is there a formula to do the following
 
Try this:

Enter this formula in H2 and copy down to H72:

=IF(AND(ISNUMBER(B2),G2="Y"),B2,"")

Biff

"GF" wrote in message
...
if a certain letter is placed into a cell such as "y" (for yes) can it
make
anouther cell with info taken from still anouther cell. Example in rows B2
through B72 we will make as a withdrawl from a bank account. now in G2
through G72 we make as is this a taxable expence Y for yes N for no. we
will
make H2 through H72 taxable total. Now say $22.00 is placed in B2 and Y is
selected in G2 is there a way to get the amount in B2 over to H2
automaticly
when Y is selected using a fomula.





All times are GMT +1. The time now is 04:25 PM.

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