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

If statement

If in a range of cells there is any blank cell, it should return the value
in a particular cell.

For Eg

A B C D E F G
Xyz Local 1.59 1.46 0.75 1.29

If in the range A1:G1 there is a blank cell, then it should return A1. Ie it
should return Xyz.

Any help is appreciated.

Thanks
Rajula
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default If Statement

Try this

=IF(COUNTA(A1:G1)<7,"",A1)

Mike

"Rajula" wrote:

If statement

If in a range of cells there is any blank cell, it should return the value
in a particular cell.

For Eg

A B C D E F G
Xyz Local 1.59 1.46 0.75 1.29

If in the range A1:G1 there is a blank cell, then it should return A1. Ie it
should return Xyz.

Any help is appreciated.

Thanks
Rajula

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 53
Default If Statement

Thanksyou for this, it was helpful.

Rajula

"Mike H" wrote:

Try this

=IF(COUNTA(A1:G1)<7,"",A1)

Mike

"Rajula" wrote:

If statement

If in a range of cells there is any blank cell, it should return the value
in a particular cell.

For Eg

A B C D E F G
Xyz Local 1.59 1.46 0.75 1.29

If in the range A1:G1 there is a blank cell, then it should return A1. Ie it
should return Xyz.

Any help is appreciated.

Thanks
Rajula

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
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
Can an If statement answer an If statement? M.A.Tyler Excel Discussion (Misc queries) 2 June 24th 07 04:14 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


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