Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Excel not correctly calculating formula

Hi all,

I've created the following formula =IF($D7="pc",($F7-$E7+1),"") in column
K which is a formula that leaves the number of days between two periods F7 &
E7 if D7 is "pc".

Anyway I then drag this formula down column K and instead of leaving the
correct number it just leaves the value of the first box K7. Even though the
formula changes as you go down the rows correctly it just leaves the first
value. Where as each row is a different date.

When I type the formula manually into row 8 it then calculates that row
correctly but when dragged down it just leave the value for row 8 instead of
7.

Please help me as I've looked at all the formatting for said columns and
double checked the coding but all seems to be correct.....however with
incorrect answers.

Help genuinely appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Excel not correctly calculating formula

It sounds like the sheet has been set for manual calculation - press
F9 to see if the formula evaluates correctly. To change permanently to
automatic calculation mode, click on Tools | Options | Calculation tab
and then check Automatic.

Hope this helps.

Pete

On Jul 29, 12:16*pm, Darren Ingram
wrote:
Hi all,

I've created the following formula =IF($D7="pc",($F7-$E7+1),"") * in column
K which is a formula that leaves the number of days between two periods F7 &
E7 if D7 is "pc".

Anyway I then drag this formula down column K and instead of leaving the
correct number it just leaves the value of the first box K7. *Even though the
formula changes as you go down the rows correctly it just leaves the first
value. *Where as each row is a different date.

When I type the formula manually into row 8 it then calculates that row
correctly but when dragged down it just leave the value for row 8 instead of
7.

Please help me as I've looked at all the formatting for said columns and
double checked the coding but all seems to be correct.....however with
incorrect answers.

Help genuinely appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Excel not correctly calculating formula

Darren,

Try: Tools / Options... Calculation Automatic

HTH,
Bernie
MS Excel MVP


"Darren Ingram" wrote in message
...
Hi all,

I've created the following formula =IF($D7="pc",($F7-$E7+1),"") in column
K which is a formula that leaves the number of days between two periods F7 &
E7 if D7 is "pc".

Anyway I then drag this formula down column K and instead of leaving the
correct number it just leaves the value of the first box K7. Even though the
formula changes as you go down the rows correctly it just leaves the first
value. Where as each row is a different date.

When I type the formula manually into row 8 it then calculates that row
correctly but when dragged down it just leave the value for row 8 instead of
7.

Please help me as I've looked at all the formatting for said columns and
double checked the coding but all seems to be correct.....however with
incorrect answers.

Help genuinely appreciated.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Excel not correctly calculating formula

Pete / Bernie,

Thanks....all working. You'd probably understand how much hair I pulled out
on that one wonder why it wasn't working. I did originally check all my
"options" but I think the fact that I was frustrated with what was going on,
my eyes must have glazed over the Automatic tick box...

Thanks for your help.

Darren.

"Pete_UK" wrote:

It sounds like the sheet has been set for manual calculation - press
F9 to see if the formula evaluates correctly. To change permanently to
automatic calculation mode, click on Tools | Options | Calculation tab
and then check Automatic.

Hope this helps.

Pete

On Jul 29, 12:16 pm, Darren Ingram
wrote:
Hi all,

I've created the following formula =IF($D7="pc",($F7-$E7+1),"") in column
K which is a formula that leaves the number of days between two periods F7 &
E7 if D7 is "pc".

Anyway I then drag this formula down column K and instead of leaving the
correct number it just leaves the value of the first box K7. Even though the
formula changes as you go down the rows correctly it just leaves the first
value. Where as each row is a different date.

When I type the formula manually into row 8 it then calculates that row
correctly but when dragged down it just leave the value for row 8 instead of
7.

Please help me as I've looked at all the formatting for said columns and
double checked the coding but all seems to be correct.....however with
incorrect answers.

Help genuinely appreciated.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default Excel not correctly calculating formula

Pete / Bernie,

Thanks....all working. You'd probably understand how much hair I pulled out
on that one wonder why it wasn't working. I did originally check all my
"options" but I think the fact that I was frustrated with what was going on,
my eyes must have glazed over the Automatic tick box...

Thanks for your help.

Darren.

"Bernie Deitrick" wrote:

Darren,

Try: Tools / Options... Calculation Automatic

HTH,
Bernie
MS Excel MVP


"Darren Ingram" wrote in message
...
Hi all,

I've created the following formula =IF($D7="pc",($F7-$E7+1),"") in column
K which is a formula that leaves the number of days between two periods F7 &
E7 if D7 is "pc".

Anyway I then drag this formula down column K and instead of leaving the
correct number it just leaves the value of the first box K7. Even though the
formula changes as you go down the rows correctly it just leaves the first
value. Where as each row is a different date.

When I type the formula manually into row 8 it then calculates that row
correctly but when dragged down it just leave the value for row 8 instead of
7.

Please help me as I've looked at all the formatting for said columns and
double checked the coding but all seems to be correct.....however with
incorrect answers.

Help genuinely appreciated.






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Excel not correctly calculating formula

You're welcome, Darren - thanks for feeding back.

Pete

On Jul 29, 1:40*pm, Darren Ingram
wrote:
Pete / Bernie,

Thanks....all working. *You'd probably understand how much hair I pulled out
on that one wonder why it wasn't working. *I did originally check all my
"options" but I think the fact that I was frustrated with what was going on,
my eyes must have glazed over the Automatic tick box...

Thanks for your help.

Darren.



"Pete_UK" wrote:
It sounds like the sheet has been set for manual calculation - press
F9 to see if the formula evaluates correctly. To change permanently to
automatic calculation mode, click on Tools | Options | Calculation tab
and then check Automatic.


Hope this helps.


Pete


On Jul 29, 12:16 pm, Darren Ingram
wrote:
Hi all,


I've created the following formula =IF($D7="pc",($F7-$E7+1),"") * in column
K which is a formula that leaves the number of days between two periods F7 &
E7 if D7 is "pc".


Anyway I then drag this formula down column K and instead of leaving the
correct number it just leaves the value of the first box K7. *Even though the
formula changes as you go down the rows correctly it just leaves the first
value. *Where as each row is a different date.


When I type the formula manually into row 8 it then calculates that row
correctly but when dragged down it just leave the value for row 8 instead of
7.


Please help me as I've looked at all the formatting for said columns and
double checked the coding but all seems to be correct.....however with
incorrect answers.


Help genuinely appreciated.- Hide quoted text -


- Show quoted text -


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
Formulas Not Calculating Correctly Daren Excel Discussion (Misc queries) 4 November 27th 07 09:41 PM
Formulas Not Calculating Correctly Daren Excel Worksheet Functions 8 November 27th 07 09:37 PM
formula not calculating correctly CH Excel Discussion (Misc queries) 2 September 24th 07 06:06 AM
why isn't this formula calculating correctly? Dave F Excel Discussion (Misc queries) 13 October 9th 06 01:34 AM
figure out why this formula isn't calculating correctly Dave F Excel Discussion (Misc queries) 9 August 22nd 06 09:58 PM


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