Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Grant Reid
 
Posts: n/a
Default Combining two Functions Headache

Hi

I hope someone out there can help me with the following problem.

I have a formula in G9 which I want use to return the cell address of A9,
and if I copy the formula down to G10 I want to return the cell address of
G10 and so on and so on. The formula works fine, see below;
=ADDRESS(ROW(),1)

I then have another formula which I want to combine with the previous
formula which will tell me if the cell is blank or not. This formula works
fine, see below;
=CELL("type",A9)

I want to able to combine the functionality of these two formulas but do not
seem to able to make any headway. My logic was as follows;
=CELL("type",ADDRESS(ROW(),1))

Perhaps there is a better way to accomplish this? Any help would be much
appreciated.

Kind Regards - Grant


  #2   Report Post  
Andy Brown
 
Posts: n/a
Default

"Grant Reid" wrote in message
...
I want to able to combine the functionality of these two formulas but do

not
seem to able to make any headway. My logic was as follows;
=CELL("type",ADDRESS(ROW(),1))


=IF(ISBLANK(INDIRECT(ADDRESS(ROW(),1))),0,1)

HTH,
Andy


  #3   Report Post  
 
Posts: n/a
Default

Hi Grant,

If you just want to know if the cell is blank you can use the
following, which will return '$A$9 b' in cell G9 if A9 is blank and
just '$A$9' if it isn't.

=IF(ISBLANK(A9),ADDRESS(ROW(),1)&" b",ADDRESS(ROW(),1))

If this doesn't cover everything you require don't hesitate to let us
know.

Cheers,
JF.

  #4   Report Post  
Grant Reid
 
Posts: n/a
Default

Hi

Many thanks to those who responded (JF and Andy) with elegant solutions to
my problem.

Kind Regards - Grant


  #5   Report Post  
bj
 
Posts: n/a
Default

do you want truely blank cells or also cells with ""?
isblank counts "" as not blank.
if you want cells with "" results to be counted as blank I would use
=IF(countblank(INDIRECT(ADDRESS(ROW(),1)))=1,0,1) or

=IF(countblank(A9)=1,ADDRESS(ROW(),1)&" b",ADDRESS(ROW(),1))




"Grant Reid" wrote:

Hi

Many thanks to those who responded (JF and Andy) with elegant solutions to
my problem.

Kind Regards - Grant



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
Combining SUMIF and SUBTOTAL functions [email protected] Excel Worksheet Functions 1 April 22nd 05 06:14 AM
3 questions about automated c++ com add-in worksheet functions gert Excel Worksheet Functions 0 March 10th 05 09:57 AM
# of Functions per cell SUB-ZERO Excel Worksheet Functions 3 January 23rd 05 10:35 PM
PivotTable canned functions doco Excel Discussion (Misc queries) 0 January 14th 05 03:52 PM
Where can I see VBA code for financial functions? eios Excel Worksheet Functions 1 November 2nd 04 01:00 PM


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