Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default us IF statements

I have a comic book collection.
Column B is what i paid column C is what the true value of
the comic book.
When i purchase a book and enter in my price, i want it to
show the C column in a different cell. All of column C has
all the value of the comics. I use the IF statement:
=IF(B4=" "," ",C4)

the staement if fine, although i cannot get it to work for
entire column, only one cell at a time.

=IF(b4:b23=" "," ",C4:C23) this does not work.

When i type a price, i would like only the cells (in cell
B)that have a price to add column B to a different cell.

please help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default us IF statements

That is true, but if you put

=IF(B4=""," ",C4)
you can then select that cell and copy it,
row 5 down to row whatever and do edit=Paste

Excel will automatically adjust each formula so it refers to that row.

So you don't have to enter the formula by hand in each cell - it sounds to
me that is what you want to avoid.

--
Regards,
Tom Ogilvy

"Anthony" wrote in message
...
I have a comic book collection.
Column B is what i paid column C is what the true value of
the comic book.
When i purchase a book and enter in my price, i want it to
show the C column in a different cell. All of column C has
all the value of the comics. I use the IF statement:
=IF(B4=" "," ",C4)

the staement if fine, although i cannot get it to work for
entire column, only one cell at a time.

=IF(b4:b23=" "," ",C4:C23) this does not work.

When i type a price, i would like only the cells (in cell
B)that have a price to add column B to a different cell.

please help



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
IF Statements David Excel Worksheet Functions 3 June 25th 08 02:33 AM
IF statements dannyboy8 Excel Worksheet Functions 1 May 14th 08 05:10 PM
If, then statements sarahz11 Excel Discussion (Misc queries) 4 March 20th 07 06:46 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
if/and statements BobVA Excel Worksheet Functions 6 May 15th 06 06:02 PM


All times are GMT +1. The time now is 01:46 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"