validation custom

Daniel Stefan

New Member
Joined
Oct 15, 2002
Messages
4
Hi Mr. Excel,
>
> I would be grateful if you could help me with the following question.
>
> In column F I want to put a validation list-using a formula-
> that allows
> the user to introduce only the exact number reflecting the name's
> occurrence.
>
> EG: If TODEA VIOLETA appear again in the next record to allow
> the user to
> introduce just 4 figure-the same situation for SIRBU MIHAI-
> (please find
> attached file)
>
> I will also be grateful if I get more information about
> Offset function
> than Excels help offer.
>
> Prompt reply would be highly appreciated.
>
> Yours faithfully,
>
> Daniel STEFAN
Branch No "Issuing
Date" Name Form's No.
AGENTIE NR. BC EMITENT
ALBA IULIA 1 09/03/02 TODEA VIOLETA 1
ALBA IULIA 1 09/03/02 SIRBU MIHAI 1
ALBA IULIA 2 09/05/02 TODEA MARIA 1
ALBA IULIA 3 09/09/02 TODEA MARIA 2
ALBA IULIA 3 09/09/02 TODEA VIOLETA 2
ALBA IULIA 4 09/12/02 SIRBU MIHAI 2
ALBA IULIA 4 09/12/02 SIRBU MIHAI 3
ALBA IULIA 5 09/16/02 TODEA VIOLETA 3
Sorry but you should understand me that I have no possibility to attach file
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
You can do this with a formula. If your data is in columns A:D starting in row 2 enter this formula in cell E2:

=COUNTIF(D$2:D2,D2)

and copy down.
 

Daniel Stefan

New Member
Joined
Oct 15, 2002
Messages
4
If you read the Excel's help, they tel you that offset returns a reference to a range, but when you used it you will not get a reference but the containt of the cell-as indirect function-.I have even tried the example from help and nothing new
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
I agree that the help is a bit confusing.

OFFSET returns a reference but the reference is evaluated. Just like the formula:

=A1

contains a reference which is evaluated.

Excel wouldn't be much use if it didn't evaluate references would it?
 

Forum statistics

Threads
1,143,614
Messages
5,719,720
Members
422,242
Latest member
hishamkhatri

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top