#1   Report Post  
Posted to microsoft.public.excel.misc
sedonovan
 
Posts: n/a
Default Constant


Hi, sorry, me again

is there a way to make a constant value in one cell automatically, if
another cell on that row has been populated.

Thanks


--
sedonovan
------------------------------------------------------------------------
sedonovan's Profile: http://www.excelforum.com/member.php...o&userid=35626
View this thread: http://www.excelforum.com/showthread...hreadid=554455

  #2   Report Post  
Posted to microsoft.public.excel.misc
starguy
 
Posts: n/a
Default Constant


suppose you want a constant say 100 to be put in col B if col A (in same
row) is populated i-e not empty
try this formula (put it in cell B1 and copy it down)
=IF(A1<"","100","")

sedonovan Wrote:
Hi, sorry, me again

is there a way to make a constant value in one cell automatically, if
another cell on that row has been populated.

Thanks



--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=554455

  #3   Report Post  
Posted to microsoft.public.excel.misc
sedonovan
 
Posts: n/a
Default Constant


thanks, you ARE a star!


--
sedonovan
------------------------------------------------------------------------
sedonovan's Profile: http://www.excelforum.com/member.php...o&userid=35626
View this thread: http://www.excelforum.com/showthread...hreadid=554455

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default Constant

=IF(A1<"","100","")

Believe starguy meant:
=IF(A1<"",100,"")

Drop the quotes for numbers, otherwise it'll be returned as text numbers
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.misc
starguy
 
Posts: n/a
Default Constant


yes

Believe starguy meant:
=IF(A1<"",100,"")

Drop the quotes for numbers, otherwise it'll be returned as text
numbers
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


--
starguy
------------------------------------------------------------------------
starguy's Profile: http://www.excelforum.com/member.php...o&userid=32434
View this thread: http://www.excelforum.com/showthread...hreadid=554455



  #6   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Constant

"starguy" wrote in
message ...
sedonovan Wrote:
Hi, sorry, me again

is there a way to make a constant value in one cell automatically, if
another cell on that row has been populated.


suppose you want a constant say 100 to be put in col B if col A (in same
row) is populated i-e not empty
try this formula (put it in cell B1 and copy it down)
=IF(A1<"","100","")


But make that
=IF(A1<"",100,"") if you want to use the 100 as a number. With "100" in
the double quotes it would appear as a text string.
--
David Biddulph


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find data in table with to set of constant values Engineer Excel Worksheet Functions 4 May 26th 06 08:42 AM
How to create a constant total column in Excel? james9662 Excel Worksheet Functions 1 April 25th 06 08:31 PM
Build an array constant with DATE function CliffD Excel Worksheet Functions 2 April 11th 06 02:51 PM
Formula Constant dale1948 Excel Worksheet Functions 2 November 2nd 05 09:44 PM
Employing constant arrays to limit nested IF statements. Richard-44 Excel Worksheet Functions 2 January 6th 05 02:19 AM


All times are GMT +1. The time now is 09:42 AM.

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"