Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Prompt value in formula

I am using this formula in my company, but the procedure has now changed and
therefor the values ("204";"0"; etc.) has to be changed from time to time.
Can someone show me a script so that the formula prompts for these values
when i click on the cell???

I hope my question is understable and clear! :o)

=SUMPRODUCT(('import part'!$A$2:INDEX('import part'!$A$1:$A$50000;TÆL('import
part'!$E$1:$E$50000))="204")*('import part'!$B$2:INDEX('import part'!$B$1:$B
$50000;TÆL('import part'!$E$1:$E$50000))="0")*('import part'!$G$2:INDEX
('import part'!$G$1:$G$50000;TÆL('import part'!$E$1:$E$50000))=8)*('import
part'!$F$2:INDEX('import part'!$F$1:$F$50000;TÆL('import part'!$E$1:$E$50000))
<=2)*('import part'!$E$2:INDEX('import part'!$E$1:$E$50000;TÆL('import part'!
$E$1:$E$50000))<27)*'import part'!$D$2:INDEX('import part'!$D$1:$D$50000;TÆL
('import part'!$E$1:$E$50000)))

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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default Prompt value in formula

Why don't you replace 204 and 0 with cell references like A1 and A2.

"micro1000 via OfficeKB.com" wrote:

I am using this formula in my company, but the procedure has now changed and
therefor the values ("204";"0"; etc.) has to be changed from time to time.
Can someone show me a script so that the formula prompts for these values
when i click on the cell???

I hope my question is understable and clear! :o)

=SUMPRODUCT(('import part'!$A$2:INDEX('import part'!$A$1:$A$50000;TÆL('import
part'!$E$1:$E$50000))="204")*('import part'!$B$2:INDEX('import part'!$B$1:$B
$50000;TÆL('import part'!$E$1:$E$50000))="0")*('import part'!$G$2:INDEX
('import part'!$G$1:$G$50000;TÆL('import part'!$E$1:$E$50000))=8)*('import
part'!$F$2:INDEX('import part'!$F$1:$F$50000;TÆL('import part'!$E$1:$E$50000))
<=2)*('import part'!$E$2:INDEX('import part'!$E$1:$E$50000;TÆL('import part'!
$E$1:$E$50000))<27)*'import part'!$D$2:INDEX('import part'!$D$1:$D$50000;TÆL
('import part'!$E$1:$E$50000)))

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


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Prompt value in formula

A good reason not to put this data in the formula.

Use this opportunity to put your values in a cell, and change your formula
accordingly. For example, format a1 as text, enter 204, then change your
formula to:
.....$E$1:$E$50000))=A1...

You would also be better off if you were consistent in using text or
numbers. You have "204", "0", but 8 and 27. Your formula will be easier to
maintain if you used either numbers or text, but not both.

Regards,
Fred.

"micro1000 via OfficeKB.com" <u48676@uwe wrote in message
news:9252e3e853b36@uwe...
I am using this formula in my company, but the procedure has now changed
and
therefor the values ("204";"0"; etc.) has to be changed from time to time.
Can someone show me a script so that the formula prompts for these values
when i click on the cell???

I hope my question is understable and clear! :o)

=SUMPRODUCT(('import part'!$A$2:INDEX('import
part'!$A$1:$A$50000;TÆL('import
part'!$E$1:$E$50000))="204")*('import part'!$B$2:INDEX('import
part'!$B$1:$B
$50000;TÆL('import part'!$E$1:$E$50000))="0")*('import part'!$G$2:INDEX
('import part'!$G$1:$G$50000;TÆL('import part'!$E$1:$E$50000))=8)*('import
part'!$F$2:INDEX('import part'!$F$1:$F$50000;TÆL('import
part'!$E$1:$E$50000))
<=2)*('import part'!$E$2:INDEX('import part'!$E$1:$E$50000;TÆL('import
part'!
$E$1:$E$50000))<27)*'import part'!$D$2:INDEX('import
part'!$D$1:$D$50000;TÆL
('import part'!$E$1:$E$50000)))

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


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Prompt value in formula

Sorry for my late reply, but I have been away from my desk for a while. I
succeded using you suggestion. Thank you very much.

Fred Smith wrote:
A good reason not to put this data in the formula.

Use this opportunity to put your values in a cell, and change your formula
accordingly. For example, format a1 as text, enter 204, then change your
formula to:
....$E$1:$E$50000))=A1...

You would also be better off if you were consistent in using text or
numbers. You have "204", "0", but 8 and 27. Your formula will be easier to
maintain if you used either numbers or text, but not both.

Regards,
Fred.

I am using this formula in my company, but the procedure has now changed
and

[quoted text clipped - 17 lines]
part'!$D$1:$D$50000;TÆL
('import part'!$E$1:$E$50000)))


--
Message posted via http://www.officekb.com

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Prompt value in formula

Glad I could help. Thanks for the feedback.

Regards,
Fred.

"micro1000 via OfficeKB.com" <u48676@uwe wrote in message
news:929e5e5b67134@uwe...
Sorry for my late reply, but I have been away from my desk for a while. I
succeded using you suggestion. Thank you very much.

Fred Smith wrote:
A good reason not to put this data in the formula.

Use this opportunity to put your values in a cell, and change your formula
accordingly. For example, format a1 as text, enter 204, then change your
formula to:
....$E$1:$E$50000))=A1...

You would also be better off if you were consistent in using text or
numbers. You have "204", "0", but 8 and 27. Your formula will be easier to
maintain if you used either numbers or text, but not both.

Regards,
Fred.

I am using this formula in my company, but the procedure has now changed
and

[quoted text clipped - 17 lines]
part'!$D$1:$D$50000;TÆL
('import part'!$E$1:$E$50000)))


--
Message posted via http://www.officekb.com


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
Read Only Prompt Scott Excel Discussion (Misc queries) 2 September 26th 07 04:04 PM
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
How do I enable Excel's "formula prompt?" Amalpert Excel Discussion (Misc queries) 1 September 22nd 05 07:06 PM
Save Prompt LJuszkiewicz Excel Worksheet Functions 1 May 27th 05 06:21 AM
Help on Prompt Zubair Excel Worksheet Functions 0 January 17th 05 09:15 AM


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