+ Reply to Thread
Results 1 to 8 of 8

DV help require

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    DV help require

    Hi friends,

    In column ‘N’ I want to enter a receipt no. >0 and if the receipt no. is duplicate then enter a capital letter ‘D’ before a receipt no. only and not any other letter. Now it’s taking other letters before duplicate receipt no. I also don’t want to allow to enter any character other than >0 or a letter ‘D’ before duplicate receipt no.

    In column ‘P’ I want to enter a amount >=0 only and not any other characters or numbers. At present it’s taking other characters other than a amount >=0.

    Any help will be highly appreciated.

    Thanking you,
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: DV help require

    Select N2:N5. Enter the following as your DV formula:
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: DV help require

    Select P2:P5. Enter the following as your DV formula:
    Please Login or Register  to view this content.
    Last edited by jhren; 05-04-2015 at 12:44 AM.

  4. #4
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: DV help require

    Hi,
    Thank you.

    For column 'N' the formula is not working as per requirement. It's taking any letter before a receipt no. I want to take a capital letter 'D' before a duplicate number only and not any other letter. If I enter a duplicate receipt no. then I want to have a letter 'D' before a receipt no. automatically.

    For column 'P' it's not allowing any value if there is a duplicate receipt no. preceded by a letter 'D'. If there is a duplicated receipt number in column 'N' then I want a 0 value only in column 'P'.

    If it's not possible by dv formula then I will like to use a vba solution for it.

    Thank you.

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: DV help require

    then I want to have a letter 'D' before a receipt no. automatically.
    this is impossible.

    Is it able to use N column for input, and an extra column (helper column M) for output?

    i.e N1 = 123 ____M1=123
    N2=123 ________M2=D123
    Quang PT

  6. #6
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: DV help require

    Hi bebo021999,
    No, I don't any helping column because thee is a another data in my original file. Doesn't matter of automatic letter 'D', forget it. I will enter it manually. Is it possible to restrict other letters to be enter in column 'N' except 'D'?

    I'm getting error 'the range specified could not be found' after entering a formula suggested by jhren.

    Thank you.

  7. #7
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: DV help require

    Quote Originally Posted by mso3 View Post
    Is it possible to restrict other letters to be enter in column 'N' except 'D'?
    Apply this for DV of N2:

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: DV help require

    Hello bebo021999,
    Perfect! Now it's absolutely as per my requirement. Except capital letter 'D' it's not allowing any letter.

    Thank you and have a nice time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 10-14-2014, 08:21 AM
  2. Excel 2013 Formula help required.
    By jamiehartle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-06-2014, 07:56 AM
  3. Require help
    By harry20819 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2013, 11:08 AM
  4. [SOLVED] Require Help - Require Formula for Multiple values in both columns
    By krodge in forum Excel General
    Replies: 6
    Last Post: 01-13-2012, 03:42 AM
  5. help is require with this
    By craig@help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2006, 07:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1