Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Dragging with IF-Functions

Hello!

I am having trouble getting my IF-function formula to always work.
This is what I'm trying to do:

=IF(DAY(A16)=17,(-(150-D16)),0)

logical test: If the date in cell A16 is the 17th of the month (where
A16 is a date).
value_if_true: then subtract the value in D16 from 150 and make it
negative
value_if_false: otherwise zero

The formula works in the first cell, but is just zero when I drag this
to the rest of the cells below it.

But get this. There is data adjacent to this formula in other cols.
When I drag down my IF function to rows beyone this adjacent data, the
formula works. The adjacent data also contains IF=functions.

Any ideas?


Thanks!
Kasmira

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Dragging with IF-Functions

On Jun 21, 2:41 pm, "kasmira.smarzo" wrote:
Hello!

I am having trouble getting my IF-function formula to always work.
This is what I'm trying to do:

=IF(DAY(A16)=17,(-(150-D16)),0)

logical test: If the date in cell A16 is the 17th of the month (where
A16 is a date).
value_if_true: then subtract the value in D16 from 150 and make it
negative
value_if_false: otherwise zero

The formula works in the first cell, but is just zero when I drag this
to the rest of the cells below it.

But get this. There is data adjacent to this formula in other cols.
When I drag down my IF function to rows beyone this adjacent data, the
formula works. The adjacent data also contains IF=functions.

Any ideas?

Thanks!
Kasmira


I actually figured it out. I had a circular reference betwen my 4
different IF=Functions. Apparently this was too complicated a circle
for excel to be able to tell me exactly what it was. It just got
confused, I guess, and just defaulted to the false statement.

Kasmira

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
Dragging with IF-Functions kasmira.smarzo Excel Discussion (Misc queries) 0 June 21st 07 06:50 PM
Dragging Art Excel Worksheet Functions 3 January 3rd 07 03:51 PM
About this dragging... Tcs Excel Discussion (Misc queries) 1 March 14th 06 09:02 PM
dragging Caryn B Excel Discussion (Misc queries) 1 July 1st 05 04:36 PM
Dragging Across Yasmeen Excel Discussion (Misc queries) 2 February 15th 05 01:39 PM


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