+ Reply to Thread
Results 1 to 10 of 10

Fill based criteria

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Fill based criteria

    Hi.

    How to get the expected result by filling the squares with numbers in "Filled by Result" guide?

    I have tab "Criteria" i need arrive o result equal Tab "Result" after...

    Fill squares using filed "Number" in tab "Result" inside tab "Filled by Result"
    Attached Files Attached Files
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Fill based criteria

    Hi, marreco,

    I canīt make a clue on how to handle your attachment, some explanations on the logic of how to find what in which sheet and fill in where would be welcome for my part.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Fill based criteria

    hi Holger
    Sorry, my english is very poor, I'll try to explain.

    Considering only the tab "Criteria" and "Result"
    I need to create a kind of order between the Area (41 ..... 30) and End (28 ... 18)
    the code should get Are and first End paste in tab "Result"
    Area End
    41 28
    37 28
    31 28
    27 28
    42 28
    38 28
    32 28
    28 28
    43 28
    39 28
    33 28
    29 28
    44 28
    40 28
    34 28
    30 28
    after doing this, need get Area and second End, paste below (first action).
    Area End
    41 28
    37 28
    31 28
    27 28
    42 28
    38 28
    32 28
    28 28
    43 28
    39 28
    33 28
    29 28
    44 28
    40 28
    34 28
    30 28
    41 19
    37 19
    31 19
    27 19
    42 19
    38 19
    32 19
    28 19
    43 19
    39 19
    33 19
    29 19
    44 19
    40 19
    34 19
    30 19
    and so on
    Thank you!!

  4. #4
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Fill based criteria

    See if this helps

    Please Login or Register  to view this content.
    Thanks

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Fill based criteria

    hi fredlo2010, very nice!

    so i need next and last part to solve my post.

    considering the guide, "Position (Area - End)"

    I added this guide, so you can see how the "End" are positioned.

    I need to insert the C "number" column, squares within the tab "Filled by Result"

    My idea is to do all this within a single code !!!

    See my attached and will understand

    Thank you !!!!
    Attached Files Attached Files
    Last edited by marreco; 08-23-2014 at 11:26 AM.

  6. #6
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Fill based criteria

    Hi this should do it

    Please Login or Register  to view this content.
    Here is the sample file Attachment 340901

    Thanks

  7. #7
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Fill based criteria

    Hi.

    display erro
    run time error 438
    object doesn't support this property or method
    this line yellow
    Please Login or Register  to view this content.

  8. #8
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Fill based criteria

    sorry my mistake try this

    Please Login or Register  to view this content.
    Thanks

  9. #9
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Fill based criteria

    Hi fredlo2010 , it works very well!!

    Thank you!!

  10. #10
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Fill based criteria

    I am glad I was able to help

    Obrigado

+ 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. Fill data in one cell from another based on criteria from a third
    By pack89 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2012, 11:08 AM
  2. VBA To Fill In Cells Based On Criteria
    By McNulty in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-06-2009, 06:18 AM
  3. Fill cels based on some criteria
    By madtatanka in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-25-2008, 04:40 PM
  4. Color Fill Cell Based on Criteria
    By frankee_gee in forum Excel General
    Replies: 3
    Last Post: 04-24-2008, 02:55 PM
  5. How to fill value in cell based on date criteria?
    By Mslady in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-29-2005, 02:07 PM

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