+ Reply to Thread
Results 1 to 4 of 4

how to have a cell copy another cells data base on other criteria

  1. #1
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    how to have a cell copy another cells data base on other criteria

    SO example A22 - A29

    I have data in A22, so the current formula in column L enters in data. I don't have data in A23 - A29 but the data in D23 - D29 all match, so I want the data that was entered in L22 to replicate in L23 - L29

    Is this even possible.

    14-15 budget-AG test.xlsm

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: how to have a cell copy another cells data base on other criteria

    May be this......
    In L22
    Please Login or Register  to view this content.
    and copy down.
    Is this what you are trying to achieve?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: how to have a cell copy another cells data base on other criteria

    That partially worked but if I sort by date then it doesn't. It only works if I sort the spreadsheet by column D. Obviously the formula needs to initially start with my formula =IFERROR(INDEX('Reference List'!$C$2:$C$22,MATCH(A22,'Reference List'!$D$2:$D$22,0)),"")). But maybe there is a way to write it differently. If A is blank then if match D to the row with the same info in D and has "SPO" in column B and enter whats in L.

    So if A2 isn't blank and has SPO written in B2 and has 1234 as the PO# in D2, then every row that is blank in column A but has the same PO# in column D enters the same data from L2 in their L cell.

    Does that make sense?

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: how to have a cell copy another cells data base on other criteria

    There is something quite strange about your workbook. Columns D, E and F of AG Orders have numeric values but there is Data Validation for those columns that just doesn't match the contents of the columns. This is quite dangerous if you want to keep your data intact.

    The values in column L are directly dependant upon column A having values. This is the only link you have to the Account Numbers. You don't have values in column A for all values that you want in column L. When you sort, the formulae in column L are still looking for values in column A and they are not there in the same relationship as before the sort using the date. If you want the data to remain intact, the values in column A will have to be filled in so that they follow along with the sort that you want to do or you will have to define another link to the Account Numbers that doesn't rely on column A.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. [SOLVED] how to have a cell copy another cells data base on other criteria
    By Dena in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-30-2014, 12:38 PM
  2. Need help for copy file from data base with criteria
    By k_2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-18-2014, 04:22 AM
  3. [SOLVED] Macro or Function that copy data base on cell value
    By robrobet in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2013, 07:27 PM
  4. Copy and Paste Values Base On Criteria
    By allan.90 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-03-2012, 01:56 PM
  5. Macro to copy data from csv file base on cells in existing workbook
    By wallstudio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2011, 03:29 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