Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
max max is offline
external usenet poster
 
Posts: 4
Default Formula Names not working

Hi all,

I’m trying to enter this as Validation formula. My problem is it
evaluates to #N/A.
It had evaluated fine as a cell formula before shortening everything
to Named Formulas
Now, even as a regular cell formula, it doesn’t work.
Could it have something to do with Workbook vs Worksheet scoping?

The sheet for the validation is called RECIPES.
Any ideas?

P - QTY

=IF(OR($D2="",$E2=""),"",P_QTY_Formula/Pur_Unit_Wt.oz_Formula)
================================================== ==========

P_QTY_Formula

=(OFFSET((OFFSET(ItemStart,MATCH($C2,ItemColumn,0) ,0,1,1)),0,(MATCH
($E2,(OFFSET(ItemStart,MATCH($C2,ItemColumn,0),2,1 ,3)),0))+4,1,1))*$D
$2


Pur_Unit_Wt.oz_Formula

=INDEX(Pur_Unit_WT.oz,MATCH($C2,ItemColumn,0))

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Formula Names not working

max wrote:
Hi all,

Im trying to enter this as Validation formula. My problem is it
evaluates to #N/A.
It had evaluated fine as a cell formula before shortening everything
to Named Formulas
Now, even as a regular cell formula, it doesnt work.
Could it have something to do with Workbook vs Worksheet scoping?

The sheet for the validation is called RECIPES.
Any ideas?

P - QTY

=IF(OR($D2="",$E2=""),"",P_QTY_Formula/Pur_Unit_Wt.oz_Formula)
================================================= ===========

P_QTY_Formula

=(OFFSET((OFFSET(ItemStart,MATCH($C2,ItemColumn,0 ),0,1,1)),0,(MATCH
($E2,(OFFSET(ItemStart,MATCH($C2,ItemColumn,0),2, 1,3)),0))+4,1,1))*$D
$2

Pur_Unit_Wt.oz_Formula

=INDEX(Pur_Unit_WT.oz,MATCH($C2,ItemColumn,0))

Thanks


=========
Can you send the excel-file ?
This is too complex.

thnks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200906/1

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Formula Names not working

Since I can't see the original message, I'll respond to this one.

I believe for validation lists, you need to use named ranges/formulas that
are scoped to the workbook.

HTH,
Barb Reinhardt

"pietbom via OfficeKB.com" wrote:

max wrote:
Hi all,

Im trying to enter this as Validation formula. My problem is it
evaluates to #N/A.
It had evaluated fine as a cell formula before shortening everything
to Named Formulas
Now, even as a regular cell formula, it doesnt work.
Could it have something to do with Workbook vs Worksheet scoping?

The sheet for the validation is called RECIPES.
Any ideas?

P - QTY

=IF(OR($D2="",$E2=""),"",P_QTY_Formula/Pur_Unit_Wt.oz_Formula)
================================================= ===========

P_QTY_Formula

=(OFFSET((OFFSET(ItemStart,MATCH($C2,ItemColumn,0 ),0,1,1)),0,(MATCH
($E2,(OFFSET(ItemStart,MATCH($C2,ItemColumn,0),2, 1,3)),0))+4,1,1))*$D
$2

Pur_Unit_Wt.oz_Formula

=INDEX(Pur_Unit_WT.oz,MATCH($C2,ItemColumn,0))

Thanks


=========
Can you send the excel-file ?
This is too complex.

thnks

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200906/1


  #4   Report Post  
Posted to microsoft.public.excel.programming
max max is offline
external usenet poster
 
Posts: 4
Default Formula Names not working

On Jun 19, 8:17*pm, Barb Reinhardt
wrote:
Since I can't see the original message, I'll respond to this one.

I believe for validation lists, you need to use named ranges/formulas that
are scoped to the workbook.

HTH,
Barb Reinhardt

"pietbom via OfficeKB.com" wrote:
max wrote:
Hi all,


I’m trying to enter this as Validation formula. *My problem is it
evaluates to #N/A.
It had evaluated fine as a cell formula before shortening everything
to Named Formulas
Now, even as a regular cell formula, it doesn’t work.
Could it have something to do with Workbook vs Worksheet scoping?


The sheet for the validation is called RECIPES.
Any ideas?


P - QTY


=IF(OR($D2="",$E2=""),"",P_QTY_Formula/Pur_Unit_Wt.oz_Formula)
================================================= ===========


P_QTY_Formula


=(OFFSET((OFFSET(ItemStart,MATCH($C2,ItemColumn,0 ),0,1,1)),0,(MATCH
($E2,(OFFSET(ItemStart,MATCH($C2,ItemColumn,0),2, 1,3)),0))+4,1,1))*$D
$2


Pur_Unit_Wt.oz_Formula


=INDEX(Pur_Unit_WT.oz,MATCH($C2,ItemColumn,0))


Thanks


I have no problems with my Range names. They work just fine.
I did try to search out info regarding formulas for this situation,
but they were relativley simple statements .

I thought I could cut down on the mega formula by Naming it and then
using it in the custom validation.
Are the any known limitations to defining a formula and then using it
in a custom validation set-up?


=========
Can you send the excel-file ?
This is too complex.

thnks


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200906/1


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
How do I include names in formula by picking up names from rows Dilip Excel Worksheet Functions 6 June 8th 09 05:51 PM
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
variable sheet names not working Susan Excel Programming 4 December 20th 06 07:26 PM
working with names and functions ngg Excel Worksheet Functions 3 November 30th 06 10:39 PM
Working with first and last names David Bateman Excel Worksheet Functions 3 February 20th 06 01:54 AM


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