Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Stephen
 
Posts: n/a
Default Formula of another formula.

Hi. I often have problems calculating an answer using a formula that has to
reference another formula. Why is this??

My current problem is, I have a conditional statement saying if cell a1 (for
example) is <=35, then 3, <=44, then 4, etc. Cell a1 has a formula that grabs
data from another sheet. When it grabs 35 for example it is ignoring the = of
the <= and gives me 4, it should be 3. How come the <= is interpreted as just
< and why do I always have problems referencing other formulas in current
formulas?
Thanks!

--
Thanks!

Stephen
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Stephen,

It's likely to be casued be the rounding of the displayed value. Try

=IF(ROUND(A1,0)<=35,.......

HTH,
Bernie
MS Excel MVP


"Stephen" wrote in message
...
Hi. I often have problems calculating an answer using a formula that has

to
reference another formula. Why is this??

My current problem is, I have a conditional statement saying if cell a1

(for
example) is <=35, then 3, <=44, then 4, etc. Cell a1 has a formula that

grabs
data from another sheet. When it grabs 35 for example it is ignoring the =

of
the <= and gives me 4, it should be 3. How come the <= is interpreted as

just
< and why do I always have problems referencing other formulas in current
formulas?
Thanks!

--
Thanks!

Stephen



  #3   Report Post  
David McRitchie
 
Posts: n/a
Default

Hi Stephen,
without the formula and the values of the referred to cells it is kind
of hard to figure out what you have, and what you want.

---
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

"Stephen" wrote in message ...
Hi. I often have problems calculating an answer using a formula that has to
reference another formula. Why is this??

My current problem is, I have a conditional statement saying if cell a1 (for
example) is <=35, then 3, <=44, then 4, etc. Cell a1 has a formula that grabs
data from another sheet. When it grabs 35 for example it is ignoring the = of
the <= and gives me 4, it should be 3. How come the <= is interpreted as just
< and why do I always have problems referencing other formulas in current
formulas?
Thanks!

--
Thanks!

Stephen



  #4   Report Post  
Niek Otten
 
Posts: n/a
Default

Hi Stephen,

What looks like 35 may actually be 35.000000000001
Test by temporarily changing the format to something like 0.000000000000000

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Stephen" wrote in message
...
Hi. I often have problems calculating an answer using a formula that has
to
reference another formula. Why is this??

My current problem is, I have a conditional statement saying if cell a1
(for
example) is <=35, then 3, <=44, then 4, etc. Cell a1 has a formula that
grabs
data from another sheet. When it grabs 35 for example it is ignoring the =
of
the <= and gives me 4, it should be 3. How come the <= is interpreted as
just
< and why do I always have problems referencing other formulas in current
formulas?
Thanks!

--
Thanks!

Stephen



  #5   Report Post  
RagDyeR
 
Posts: n/a
Default

I would guess that your 35 is *not* 35.

It may be 35.01, but your formatting is dropping the extra decimal places.

You can round off the formula in the sheet that originates the 35.

For example:

A1 = 12
B1 = 2.918

Formula in C1:
=A1*B1
Returns 35.016

Rounding formula:
=ROUND(A1*B1,0)
Returns 35
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"Stephen" wrote in message
...
Hi. I often have problems calculating an answer using a formula that has to
reference another formula. Why is this??

My current problem is, I have a conditional statement saying if cell a1 (for
example) is <=35, then 3, <=44, then 4, etc. Cell a1 has a formula that
grabs
data from another sheet. When it grabs 35 for example it is ignoring the =
of
the <= and gives me 4, it should be 3. How come the <= is interpreted as
just
< and why do I always have problems referencing other formulas in current
formulas?
Thanks!

--
Thanks!

Stephen




  #6   Report Post  
Stephen
 
Posts: n/a
Default

Bernie,

Using Round fixed it. I bet that has been my problem on all of the formulas
I use = or <=.

Thanks again!
--
Thanks!

Stephen


"Bernie Deitrick" wrote:

Stephen,

It's likely to be casued be the rounding of the displayed value. Try

=IF(ROUND(A1,0)<=35,.......

HTH,
Bernie
MS Excel MVP


"Stephen" wrote in message
...
Hi. I often have problems calculating an answer using a formula that has

to
reference another formula. Why is this??

My current problem is, I have a conditional statement saying if cell a1

(for
example) is <=35, then 3, <=44, then 4, etc. Cell a1 has a formula that

grabs
data from another sheet. When it grabs 35 for example it is ignoring the =

of
the <= and gives me 4, it should be 3. How come the <= is interpreted as

just
< and why do I always have problems referencing other formulas in current
formulas?
Thanks!

--
Thanks!

Stephen




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
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
Dynamic (?) formula Thore Excel Worksheet Functions 2 February 9th 05 05:25 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 06:17 AM.

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"