Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Help With ADDRESS Function

I have the following formula:
=if(Sheet1!$c3<"", do something, do something else)
that I would like to re-write as:
=if(address(3,3,2,TRUE,"Sheet1")<"", do something, do something else)

The second formula unfortunately always seems to evaluate to TRUE.

What am I doing wrong?
--
tb
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help With ADDRESS Function

that I would like to re-write as:
=if(address(3,3,2,TRUE,"Sheet1")<"", do something, do something else)


WHY?

If you want that way then try like this:

=IF(INDIRECT(ADDRESS(3,3,2,TRUE,"Sheet1"))<"","do something","do something
else")


"Tiziano" wrote:

I have the following formula:
=if(Sheet1!$c3<"", do something, do something else)
that I would like to re-write as:
=if(address(3,3,2,TRUE,"Sheet1")<"", do something, do something else)

The second formula unfortunately always seems to evaluate to TRUE.

What am I doing wrong?
--
tb

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Help With ADDRESS Function

on 7/9/2009 9:04 PM Teethless mama wrote the following:
that I would like to re-write as:
=if(address(3,3,2,TRUE,"Sheet1")<"", do something, do something else)


WHY?

If you want that way then try like this:

=IF(INDIRECT(ADDRESS(3,3,2,TRUE,"Sheet1"))<"","do something","do something
else")


"Tiziano" wrote:

I have the following formula:
=if(Sheet1!$c3<"", do something, do something else)
that I would like to re-write as:
=if(address(3,3,2,TRUE,"Sheet1")<"", do something, do something else)

The second formula unfortunately always seems to evaluate to TRUE.

What am I doing wrong?
--
tb


Thanks for your suggestion!

You want to know why... Well, the original formula (located on Sheet2
and copied all the way down from A3 to A5000) is linked to a spreadsheet
located on Sheet1. Unfortunately, every time that I delete a row from
Sheet1, I get the dreaded #REF!. So, I am simply trying to find a way
to get around this problem by re-writing my formula as the deletion of
rows on Sheet1 is unavoidable...

If anybody has a better solution...
--
tb
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Help With ADDRESS Function

Hi,

If you told us your goal we might be able to give you a better solution.
Why do you want to write it this way?

Although the function is called Address it actually returns a text type not
a reference type result. Therefore would use it with INDIRECT or just try a
different approach.

=IF(INDIRECT("Sheet1!C"&ROW(A3))<"","something"," blank")

and here is a second idea

=IF(OFFSET(Sheet1!A1,2,2)<"","something","blank")


--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Tiziano" wrote:

I have the following formula:
=if(Sheet1!$c3<"", do something, do something else)
that I would like to re-write as:
=if(address(3,3,2,TRUE,"Sheet1")<"", do something, do something else)

The second formula unfortunately always seems to evaluate to TRUE.

What am I doing wrong?
--
tb

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
use of ADDRESS function within CELL function drummo2a Excel Worksheet Functions 4 July 2nd 09 07:44 AM
How to create a range address with ADDRESS function? Steve McLeod Excel Worksheet Functions 1 December 18th 08 02:02 PM
Is it possible to use address function in average function [email protected] Excel Discussion (Misc queries) 8 December 18th 07 12:52 AM
cannot nest address function into another function Ian Excel Discussion (Misc queries) 7 April 27th 07 07:03 AM
Use address function or other Doug Laidlaw Excel Worksheet Functions 1 February 24th 05 02:12 PM


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