#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default formula

I'm trying to figure out the formula so when I put a particular number in one
cell, the other cell will automatically be designated another number. For
example, if I were to put a 1 in cell a2, cell a25 will automatically enter
a 0 for that field. Any help with this would be great!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default formula

In cell A25, enter:

=IF(A2=1,0,"")
--
Gary''s Student - gsnu200753


"bhssc" wrote:

I'm trying to figure out the formula so when I put a particular number in one
cell, the other cell will automatically be designated another number. For
example, if I were to put a 1 in cell a2, cell a25 will automatically enter
a 0 for that field. Any help with this would be great!!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default formula

Put this formula in A25:

=IF(A2=1,0,"")

You didn't say what you wanted if A1 is not 1 - this formula returns a
blank cell.

Hope this helps.

Pete

On Nov 5, 7:53 pm, bhssc wrote:
I'm trying to figure out the formula so when I put a particular number in one
cell, the other cell will automatically be designated another number. For
example, if I were to put a 1 in cell a2, cell a25 will automatically enter
a 0 for that field. Any help with this would be great!!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default formula

Easily done as others have shown if 1 is your only choice in A2.

For more choices enter this in A25

=LOOKUP(A2,{1,2,3,4,5,6,7},{0,9,8,7,6,5,4})

Adjust numbers to suit


Gord Dibben MS Excel MVP

On Mon, 5 Nov 2007 11:53:00 -0800, bhssc
wrote:

I'm trying to figure out the formula so when I put a particular number in one
cell, the other cell will automatically be designated another number. For
example, if I were to put a 1 in cell a2, cell a25 will automatically enter
a 0 for that field. Any help with this would be great!!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"