Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
rrucksdashel
 
Posts: n/a
Default Checking for a formula

How can I tell in a cell on one sheet if a cell on another sheet is an input
value or a formula (e.g., 4 or =2*2)? I use the conditional formatting
=(HasFormula) when the cell that I am checking is on the same sheet but
conditional formating won't let me reference another sheet (I don't think)
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Checking for a formula

Name the cell on the other sheet (select cell., do insertnamedefine)then
refer to the name in the formatting

=HASFORMULA(name_cell)

--
Regards,

Peo Sjoblom

(No private emails please)


"rrucksdashel" wrote in message
...
How can I tell in a cell on one sheet if a cell on another sheet is an
input
value or a formula (e.g., 4 or =2*2)? I use the conditional formatting
=(HasFormula) when the cell that I am checking is on the same sheet but
conditional formating won't let me reference another sheet (I don't think)


  #3   Report Post  
rrucksdashel
 
Posts: n/a
Default Checking for a formula

I get a #REF! when I enter this formula:
=HasFormula(TEST)
The cell TEST had 4 in it and I also had =2+2 in it andin both cases,
#REF!was the answer.

Also, can a cell reference be used instead of a name because the location
will change?

"Peo Sjoblom" wrote:

Name the cell on the other sheet (select cell., do insertnamedefine)then
refer to the name in the formatting

=HASFORMULA(name_cell)

--
Regards,

Peo Sjoblom

(No private emails please)


"rrucksdashel" wrote in message
...
How can I tell in a cell on one sheet if a cell on another sheet is an
input
value or a formula (e.g., 4 or =2*2)? I use the conditional formatting
=(HasFormula) when the cell that I am checking is on the same sheet but
conditional formating won't let me reference another sheet (I don't think)



  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default Checking for a formula

You must have named the cell incorrectly, works for me as long as the UDF is
in the same workbook
No, you cannot use a cell reference unless you use a second cell to link to,
assume you put

=HASFORMULA(Sheet2!A2)

in Sheet1!IV1, then from the same sheet check for IV1

=IV1=TRUE

--
Regards,

Peo Sjoblom

(No private emails please)


"rrucksdashel" wrote in message
...
I get a #REF! when I enter this formula:
=HasFormula(TEST)
The cell TEST had 4 in it and I also had =2+2 in it andin both cases,
#REF!was the answer.

Also, can a cell reference be used instead of a name because the location
will change?

"Peo Sjoblom" wrote:

Name the cell on the other sheet (select cell., do
insertnamedefine)then
refer to the name in the formatting

=HASFORMULA(name_cell)

--
Regards,

Peo Sjoblom

(No private emails please)


"rrucksdashel" wrote in message
...
How can I tell in a cell on one sheet if a cell on another sheet is an
input
value or a formula (e.g., 4 or =2*2)? I use the conditional formatting
=(HasFormula) when the cell that I am checking is on the same sheet but
conditional formating won't let me reference another sheet (I don't
think)




  #5   Report Post  
David McRitchie
 
Posts: n/a
Default Checking for a formula

Instead of referencing a cell as sheet95!e1
you can use a named cell don't know if that will really help you
or not. You could use a helper column on your current sheet.

You will also have a problem if your hasformula is refereenced
from your personal.xls workbook, it will have to be in the same workbook.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rrucksdashel" wrote in message ...
How can I tell in a cell on one sheet if a cell on another sheet is an input
value or a formula (e.g., 4 or =2*2)? I use the conditional formatting
=(HasFormula) when the cell that I am checking is on the same sheet but
conditional formating won't let me reference another sheet (I don't think)





  #6   Report Post  
Posted to microsoft.public.excel.misc
rrucksdashel
 
Posts: n/a
Default Checking for a formula

Maybe you can help me. I have the following:
In a blank workbook, I entered 4 in A1. Then in A2 I entered
=HasFormula (A1)
It gives me this
#NAME?

Also, if I name A1 as "Test" (without the quotes) and change the A1 in A2,
to Test, it gives me the same answer.

I have never been able to get this to work and really need for it to. Also,
you referred to a helper column. What is that and how would that help here?

"David McRitchie" wrote:

Instead of referencing a cell as sheet95!e1
you can use a named cell don't know if that will really help you
or not. You could use a helper column on your current sheet.

You will also have a problem if your hasformula is refereenced
from your personal.xls workbook, it will have to be in the same workbook.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rrucksdashel" wrote in message ...
How can I tell in a cell on one sheet if a cell on another sheet is an input
value or a formula (e.g., 4 or =2*2)? I use the conditional formatting
=(HasFormula) when the cell that I am checking is on the same sheet but
conditional formating won't let me reference another sheet (I don't think)




  #7   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Checking for a formula

HASFORMULA is a UDF and not built in, have you installed a function
called HASFORMULA anywhere?


--

Regards,

Peo Sjoblom


"rrucksdashel" wrote in message
...
Maybe you can help me. I have the following:
In a blank workbook, I entered 4 in A1. Then in A2 I entered
=HasFormula (A1)
It gives me this
#NAME?

Also, if I name A1 as "Test" (without the quotes) and change the A1 in A2,
to Test, it gives me the same answer.

I have never been able to get this to work and really need for it to.

Also,
you referred to a helper column. What is that and how would that help

here?

"David McRitchie" wrote:

Instead of referencing a cell as sheet95!e1
you can use a named cell don't know if that will really help you
or not. You could use a helper column on your current sheet.

You will also have a problem if your hasformula is refereenced
from your personal.xls workbook, it will have to be in the same

workbook.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rrucksdashel" wrote in message

...
How can I tell in a cell on one sheet if a cell on another sheet is an

input
value or a formula (e.g., 4 or =2*2)? I use the conditional

formatting
=(HasFormula) when the cell that I am checking is on the same sheet

but
conditional formating won't let me reference another sheet (I don't

think)





  #8   Report Post  
Posted to microsoft.public.excel.misc
rrucksdashel
 
Posts: n/a
Default Checking for a formula

Not to my knowledge. Is that an Add-In? How do I install it?

"Peo Sjoblom" wrote:

HASFORMULA is a UDF and not built in, have you installed a function
called HASFORMULA anywhere?


--

Regards,

Peo Sjoblom


"rrucksdashel" wrote in message
...
Maybe you can help me. I have the following:
In a blank workbook, I entered 4 in A1. Then in A2 I entered
=HasFormula (A1)
It gives me this
#NAME?

Also, if I name A1 as "Test" (without the quotes) and change the A1 in A2,
to Test, it gives me the same answer.

I have never been able to get this to work and really need for it to.

Also,
you referred to a helper column. What is that and how would that help

here?

"David McRitchie" wrote:

Instead of referencing a cell as sheet95!e1
you can use a named cell don't know if that will really help you
or not. You could use a helper column on your current sheet.

You will also have a problem if your hasformula is refereenced
from your personal.xls workbook, it will have to be in the same

workbook.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rrucksdashel" wrote in message

...
How can I tell in a cell on one sheet if a cell on another sheet is an

input
value or a formula (e.g., 4 or =2*2)? I use the conditional

formatting
=(HasFormula) when the cell that I am checking is on the same sheet

but
conditional formating won't let me reference another sheet (I don't

think)






  #9   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Checking for a formula

http://www.mvps.org/dmcritchie/excel...htm#hasformula

--

Regards,

Peo Sjoblom


"rrucksdashel" wrote in message
...
Not to my knowledge. Is that an Add-In? How do I install it?

"Peo Sjoblom" wrote:

HASFORMULA is a UDF and not built in, have you installed a function
called HASFORMULA anywhere?


--

Regards,

Peo Sjoblom


"rrucksdashel" wrote in message
...
Maybe you can help me. I have the following:
In a blank workbook, I entered 4 in A1. Then in A2 I entered
=HasFormula (A1)
It gives me this
#NAME?

Also, if I name A1 as "Test" (without the quotes) and change the A1 in

A2,
to Test, it gives me the same answer.

I have never been able to get this to work and really need for it to.

Also,
you referred to a helper column. What is that and how would that help

here?

"David McRitchie" wrote:

Instead of referencing a cell as sheet95!e1
you can use a named cell don't know if that will really help you
or not. You could use a helper column on your current sheet.

You will also have a problem if your hasformula is refereenced
from your personal.xls workbook, it will have to be in the same

workbook.

--
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"rrucksdashel" wrote in

message
...
How can I tell in a cell on one sheet if a cell on another sheet

is an
input
value or a formula (e.g., 4 or =2*2)? I use the conditional

formatting
=(HasFormula) when the cell that I am checking is on the same

sheet
but
conditional formating won't let me reference another sheet (I

don't
think)








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
adding row to forumla carrera Excel Discussion (Misc queries) 9 August 23rd 05 10:24 PM
dragging a formula P Bates Excel Discussion (Misc queries) 3 August 7th 05 09:37 PM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 12:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"