LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Validation of cell results

Thank you Mike for responding to my post.

Can you please elaborate your solution. I am not familar with PUBLIC
FUNCTION. May be you could use the info I posted to explain.

Thanks in advance


"mike" wrote:

Public Function test(number As range)

If number 10 Then

MsgBox "Result is too large"

Else: test = number

End If

End Function

jpreman wrote:
Thanks for your post Jim.

The first point is I am NOT referring to data entry validation.

Let me give a simple example.

sum(A1:E1)=F1. But the results in F1 should not exceed 10. If it does there
should be a popup message.(I am NOT looking for conditional formatting)

Thanks once again



"Jim Thomlinson" wrote:

Your description is a little thin on details but in general you are probably
looking to use the Custom option in data validation. You specify a formula
and off you go...
--
HTH...

Jim Thomlinson


"jpreman" wrote:

Thanks for reading this post.

Data/validation is used for data entry in a cell.

Is there a way validations could be applied based on the results in a cell.
ie. if a desired result is not reached there should be a customised error
message/alert





 
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
Getting Results with a Validation List RJ Swain Excel Worksheet Functions 3 February 28th 08 09:36 PM
Use Filtered Results for Data Validation SSDSCA Excel Worksheet Functions 0 December 3rd 07 08:21 PM
Conditional Sum Argument results do not equal cell results Excel Randy R Mullins Excel Worksheet Functions 3 August 9th 06 07:16 PM
Validation of results jpreman Excel Discussion (Misc queries) 2 July 7th 06 05:04 PM
how to set default value in list validation" did not return results. harinath Excel Programming 3 April 7th 04 04:16 PM


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