+ Reply to Thread
Results 1 to 4 of 4

selecting a specific answer then export to a different sheet

  1. #1
    Forum Contributor
    Join Date
    05-14-2015
    Location
    West Yorkshire
    MS-Off Ver
    10
    Posts
    130

    selecting a specific answer then export to a different sheet

    Hi,

    Based on the lowest value between cell L7 & L13 I need to export the associated data to the green cells in the office sheet. For this example I've highlighted the cells in orange that would need to be exported to the office sheet. If the block value in cell L7 was lower then I would need to export the corresponding data not the cells highlighted in orange. I hope this makes sense.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: selecting a specific answer then export to a different sheet

    Try the attached. Uses this formula to dscide which is the larger number, and copies the "winning" data across

    =IF(Workings!$L$7>Workings!$L$13,Workings!B7,Workings!B13) - copied across to each relevant cell in the Office sheet

    Doesn't work if both scores are equal, because I didn't look at how the workings are calculated. But if all the measures would be identical then change the formulae to "more than or equal to" as below.

    =IF(Workings!$L$7>=Workings!$L$13,Workings!B7,Workings!B13)

    Ochimus
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    05-14-2015
    Location
    West Yorkshire
    MS-Off Ver
    10
    Posts
    130

    Re: selecting a specific answer then export to a different sheet

    perfect thank you!

  4. #4
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: selecting a specific answer then export to a different sheet

    Glad to help, and if it has solved the question, you need to close the query by clicking "Thread Tools" at the top and clicking "Solved".

    And if you feel generous, a quick click on my reputation would not come amiss?

    Ochimus

+ 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. Export only specific sheet to PDF
    By Kandavalli.Kiran in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2015, 10:47 AM
  2. Replies: 4
    Last Post: 08-26-2014, 02:44 PM
  3. Help with selecting an answer from multiple cell
    By jamaral141989 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 12-30-2013, 06:08 PM
  4. Export Double Quotes CSV from Specific Sheet
    By somebody113 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-11-2011, 01:17 PM
  5. Extracting specific data from an XLS survey answer sheet
    By jsad in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-04-2011, 03:42 PM
  6. Replies: 10
    Last Post: 02-28-2010, 08:07 AM
  7. Selecting Specific Data to copy/move to a new sheet
    By ksp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-06-2005, 03:32 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