+ Reply to Thread
Results 1 to 4 of 4

Automatic Cell Fill-in from Spreadsheet Database

Hybrid View

Guest Automatic Cell Fill-in from... 01-18-2006, 10:10 PM
Guest Re: Automatic Cell Fill-in... 01-18-2006, 10:35 PM
Guest Re: Automatic Cell Fill-in... 01-18-2006, 10:40 PM
Guest Re: Automatic Cell Fill-in... 01-18-2006, 11:00 PM
  1. #1
    Cheri
    Guest

    Automatic Cell Fill-in from Spreadsheet Database

    I have a spreadsheet that has LastName/FirstName in cells A1 and B1
    respectively. In C1 I want to put a formula that looks at another
    spreadsheet set up as a database to pull the last 4 numbers of the person's
    SS#. Since there could be more than one person with the same last name, the
    formula would have to reference both cells A1 and B1 to make sure it got the
    correct SS#. I am just not sure this is doable.

    Thank you for any help!

  2. #2
    Biff
    Guest

    Re: Automatic Cell Fill-in from Spreadsheet Database

    Hi!

    > another spreadsheet set up as a database


    Is that another separate file or another sheet in the same file?

    How is the database setup?

    Last name / First name in 2 cells?

    How are the SS#'s entered? As the full xxx-xx-xxxx or just the last 4?

    Many details to fill in!

    Biff

    "Cheri" <Cheri@discussions.microsoft.com> wrote in message
    news:525308EF-7070-4496-AD42-3B0FB758582E@microsoft.com...
    >I have a spreadsheet that has LastName/FirstName in cells A1 and B1
    > respectively. In C1 I want to put a formula that looks at another
    > spreadsheet set up as a database to pull the last 4 numbers of the
    > person's
    > SS#. Since there could be more than one person with the same last name,
    > the
    > formula would have to reference both cells A1 and B1 to make sure it got
    > the
    > correct SS#. I am just not sure this is doable.
    >
    > Thank you for any help!




  3. #3
    Cheri
    Guest

    Re: Automatic Cell Fill-in from Spreadsheet Database

    Thanks Biff! The database is in the same workbook on a different worksheet.
    The names (first and last) in the database are also in two separate cells.

    The SS# on the database sheet is listed with just the last 4 numbers, so the
    entire cell/block can be referenced.

    I hope this helps. Thanks!!!



    "Biff" wrote:

    > Hi!
    >
    > > another spreadsheet set up as a database

    >
    > Is that another separate file or another sheet in the same file?
    >
    > How is the database setup?
    >
    > Last name / First name in 2 cells?
    >
    > How are the SS#'s entered? As the full xxx-xx-xxxx or just the last 4?
    >
    > Many details to fill in!
    >
    > Biff
    >
    > "Cheri" <Cheri@discussions.microsoft.com> wrote in message
    > news:525308EF-7070-4496-AD42-3B0FB758582E@microsoft.com...
    > >I have a spreadsheet that has LastName/FirstName in cells A1 and B1
    > > respectively. In C1 I want to put a formula that looks at another
    > > spreadsheet set up as a database to pull the last 4 numbers of the
    > > person's
    > > SS#. Since there could be more than one person with the same last name,
    > > the
    > > formula would have to reference both cells A1 and B1 to make sure it got
    > > the
    > > correct SS#. I am just not sure this is doable.
    > >
    > > Thank you for any help!

    >
    >
    >


  4. #4
    Biff
    Guest

    Re: Automatic Cell Fill-in from Spreadsheet Database

    Ok.......

    Assume the db is on Sheet2 and setup like thus:

    A1:A100 = last n
    B1:B100 = first n
    C1:C100 = last 4 SS#

    Sheet1? A1 = last n
    Sheet1? B1 = first n

    Sheet1? C1 = formula:

    =SUMPRODUCT(--(Sheet2!A1:A100=A1),--(Sheet2!B1:B100=B1),Sheet2!C1:C100)

    If it's possible that you may have dupes, like:

    Smith | John | 1234
    Smith | John | 5678

    Then a different, more complicated approach will be needed.

    Biff

    "Cheri" <Cheri@discussions.microsoft.com> wrote in message
    news:68D7D4F1-9A2F-4E04-A259-6BC771590656@microsoft.com...
    > Thanks Biff! The database is in the same workbook on a different
    > worksheet.
    > The names (first and last) in the database are also in two separate cells.
    >
    > The SS# on the database sheet is listed with just the last 4 numbers, so
    > the
    > entire cell/block can be referenced.
    >
    > I hope this helps. Thanks!!!
    >
    >
    >
    > "Biff" wrote:
    >
    >> Hi!
    >>
    >> > another spreadsheet set up as a database

    >>
    >> Is that another separate file or another sheet in the same file?
    >>
    >> How is the database setup?
    >>
    >> Last name / First name in 2 cells?
    >>
    >> How are the SS#'s entered? As the full xxx-xx-xxxx or just the last 4?
    >>
    >> Many details to fill in!
    >>
    >> Biff
    >>
    >> "Cheri" <Cheri@discussions.microsoft.com> wrote in message
    >> news:525308EF-7070-4496-AD42-3B0FB758582E@microsoft.com...
    >> >I have a spreadsheet that has LastName/FirstName in cells A1 and B1
    >> > respectively. In C1 I want to put a formula that looks at another
    >> > spreadsheet set up as a database to pull the last 4 numbers of the
    >> > person's
    >> > SS#. Since there could be more than one person with the same last
    >> > name,
    >> > the
    >> > formula would have to reference both cells A1 and B1 to make sure it
    >> > got
    >> > the
    >> > correct SS#. I am just not sure this is doable.
    >> >
    >> > Thank you for any help!

    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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