Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default VALUE appearing (referencing blank cell)

Hi Guys, sorry for again posting on here but this reoprt will be the death of
me.

I have 2 cells that have the following formlas

IN C45 =IF(ISBLANK(AG149),"",AG149)

IN D45 =IF(B45=1,'Base Data'!$H$52,IF(B45=2,'Base
Data'!$I$52,IF(B45=3,'Base Data'!$J$52,IF(B45=4,'Base
Data'!$K$52,IF(B45=5,'Base Data'!$L$52,IF(B45="pd",'Base Data'!$M$52,""))))))

Both C45 and D45 have no data in and are therefore blank - GREAT


Then in cell AF45 I have the following formula which is linking to both C45
& D45 above (the AF cells referenced in the below formula both have values in
FYI)

=IF(ISBLANK($C45),"",IF((MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12)<=0,"",MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12))

If there is data in C45 & D45 then the formula works fine. However when both
C45 & D45 are blank I am getting ''VALUE'' returned.

I have to have them blank to enable my sum to work.

Thanks again for anyones help. I really appreciate it.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VALUE appearing (referencing blank cell)

You're testing for C45 = blank but not D45.

So, does that mean if C45 is not blank but D45 is you still want to
calculate the formula?

Or, do you *not* want to do anything unless both C45 and D45 contain
numbers?

--
Biff
Microsoft Excel MVP


"Mark D" wrote in message
...
Hi Guys, sorry for again posting on here but this reoprt will be the death
of
me.

I have 2 cells that have the following formlas

IN C45 =IF(ISBLANK(AG149),"",AG149)

IN D45 =IF(B45=1,'Base Data'!$H$52,IF(B45=2,'Base
Data'!$I$52,IF(B45=3,'Base Data'!$J$52,IF(B45=4,'Base
Data'!$K$52,IF(B45=5,'Base Data'!$L$52,IF(B45="pd",'Base
Data'!$M$52,""))))))

Both C45 and D45 have no data in and are therefore blank - GREAT


Then in cell AF45 I have the following formula which is linking to both
C45
& D45 above (the AF cells referenced in the below formula both have values
in
FYI)

=IF(ISBLANK($C45),"",IF((MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12)<=0,"",MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12))

If there is data in C45 & D45 then the formula works fine. However when
both
C45 & D45 are blank I am getting ''VALUE'' returned.

I have to have them blank to enable my sum to work.

Thanks again for anyones help. I really appreciate it.





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default VALUE appearing (referencing blank cell)

Ah yes sorry I should be testing both C45 & D45 to be blank.

Do you have any suggestions on how to add that into the forumla?

Thanks for the reply

"T. Valko" wrote:

You're testing for C45 = blank but not D45.

So, does that mean if C45 is not blank but D45 is you still want to
calculate the formula?

Or, do you *not* want to do anything unless both C45 and D45 contain
numbers?

--
Biff
Microsoft Excel MVP


"Mark D" wrote in message
...
Hi Guys, sorry for again posting on here but this reoprt will be the death
of
me.

I have 2 cells that have the following formlas

IN C45 =IF(ISBLANK(AG149),"",AG149)

IN D45 =IF(B45=1,'Base Data'!$H$52,IF(B45=2,'Base
Data'!$I$52,IF(B45=3,'Base Data'!$J$52,IF(B45=4,'Base
Data'!$K$52,IF(B45=5,'Base Data'!$L$52,IF(B45="pd",'Base
Data'!$M$52,""))))))

Both C45 and D45 have no data in and are therefore blank - GREAT


Then in cell AF45 I have the following formula which is linking to both
C45
& D45 above (the AF cells referenced in the below formula both have values
in
FYI)

=IF(ISBLANK($C45),"",IF((MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12)<=0,"",MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12))

If there is data in C45 & D45 then the formula works fine. However when
both
C45 & D45 are blank I am getting ''VALUE'' returned.

I have to have them blank to enable my sum to work.

Thanks again for anyones help. I really appreciate it.





.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default VALUE appearing (referencing blank cell)

If you don't want to do anything unless both cells contain numbers start the
formula with:

=IF(COUNT($C45,$D45)<2,"",IF((MIN(............

--
Biff
Microsoft Excel MVP


"Mark D" wrote in message
...
Ah yes sorry I should be testing both C45 & D45 to be blank.

Do you have any suggestions on how to add that into the forumla?

Thanks for the reply

"T. Valko" wrote:

You're testing for C45 = blank but not D45.

So, does that mean if C45 is not blank but D45 is you still want to
calculate the formula?

Or, do you *not* want to do anything unless both C45 and D45 contain
numbers?

--
Biff
Microsoft Excel MVP


"Mark D" wrote in message
...
Hi Guys, sorry for again posting on here but this reoprt will be the
death
of
me.

I have 2 cells that have the following formlas

IN C45 =IF(ISBLANK(AG149),"",AG149)

IN D45 =IF(B45=1,'Base Data'!$H$52,IF(B45=2,'Base
Data'!$I$52,IF(B45=3,'Base Data'!$J$52,IF(B45=4,'Base
Data'!$K$52,IF(B45=5,'Base Data'!$L$52,IF(B45="pd",'Base
Data'!$M$52,""))))))

Both C45 and D45 have no data in and are therefore blank - GREAT


Then in cell AF45 I have the following formula which is linking to both
C45
& D45 above (the AF cells referenced in the below formula both have
values
in
FYI)

=IF(ISBLANK($C45),"",IF((MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12)<=0,"",MIN((AF$4-$C45)+1,AF$3)/AF$3*$D45/12))

If there is data in C45 & D45 then the formula works fine. However when
both
C45 & D45 are blank I am getting ''VALUE'' returned.

I have to have them blank to enable my sum to work.

Thanks again for anyones help. I really appreciate it.





.



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
Referencing cells with formulas results in blank cell. rdp Excel Worksheet Functions 1 December 4th 07 06:53 PM
referencing non-blank cells MM Excel Worksheet Functions 12 May 25th 06 07:17 PM
Why is my formula appearing in the cell not the value? smithers2002 Excel Worksheet Functions 3 October 6th 05 12:34 PM
Why is my cell text not appearing? Mister PM Excel Discussion (Misc queries) 4 July 7th 05 04:10 PM
referencing cells that return blank results Suz Excel Worksheet Functions 4 February 21st 05 10:59 PM


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