+ Reply to Thread
Results 1 to 8 of 8

Pulling data from a range referenced in two cells

  1. #1
    Registered User
    Join Date
    07-23-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Pulling data from a range referenced in two cells

    Hello Excel Forum,

    I'm currently constructing a workbook that can have data from an automated report be pasted in, and statistics be automatically generated. I've got everything that I need, except for two things:

    1) I would like, in the "QA Stats" worksheet, to have Excel automatically generate any placements that are outside the range specified in the cells under "Clickthrough Rate". These will be generated in that worksheet from the "Query" worksheet. If the range cells were to be changed, the results would change with it.

    2) Instead of having a static table under the "Impression %'s", I would like all unique placement categories to be generated in the table automatically. This will allow for placements that don't exist in the report to not show up in the "QA Stats" worksheet. Then, the %'s would be calculated (those are already done!).

    I've been struggling for a few days now figuring out these last two parts, and would greatly appreciate any help whatsoever! I've attached a generic version of what I'm working on as reference.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Pulling data from a range referenced in two cells

    Not 100% sure what you are trying to achieve with this, had a look at your file and tried to understand but I struggled (to me it's just numbers, not trying to come across rude it's more because things make sense to yourself because its your own work). Can you also show somewhere what result(s) would be shown with the given data manually entered so we can ensure we don't give you an incorrect/incomplete solution.

    What i'm unclear on:
    1) When looking to see which rows on the query tab are outside the Click Rate parameters (G21 and G22) what is to be generated and where?
    2) I assume B14:B18 are the placement catergories? If so you will need a complete list of placements listed somewhere fo excel to check against, also these names don't relate to anything on the Query tab currently (I assume the wuery dtaa is mock and thats why?)

    If you can clarify these points for me then I will be able to work on a solution for you (or someone else will if they beat me to it!)
    Say thanks, click *

  3. #3
    Registered User
    Join Date
    07-23-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Pulling data from a range referenced in two cells

    QA Tester III external.xlsx

    Thanks for your help here! I attached an updated file with what a mock up after it's run would look like.

    1) As seen in the "QA Stats" worksheet, it should show any row that are outside that specified Click Rate range. If the Click Rate range cells were to be changed, then the rows from the "Query" sheet that show up in the "QA Stats" sheet would change as well.

    2) You're correct in that B14:B18 are the placement categories. That's the complete list, but I don't want ones that aren't in that current report to be shown, just for neatness' sake. They don't relate to the placements in the Query tab, because I changed it all to generic data for business confidentiality.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-23-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Pulling data from a range referenced in two cells

    Refer to "QA Tester III external.xlsx" for the most up-to-date one. Apologies for the confusion there...

  5. #5
    Registered User
    Join Date
    07-23-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Pulling data from a range referenced in two cells

    Bumping for awareness. I'm in desperate need of help on this

  6. #6
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Pulling data from a range referenced in two cells

    Sorry as I am in UK timezone I wasn't able to get back to you sooner.
    Attached is a modified version of your sheet. There are notes/comments in the file to help explain things. Let me know if this works along the lines of what you need.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-23-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Pulling data from a range referenced in two cells

    Thanks, it works like I wanted! One thing: is there any way to have the "Impression %'s" table display the placement/ad default names after the vlookup instead of 1,2,3, etc.?

    I really appreciate the help here, life saver!

  8. #8
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Pulling data from a range referenced in two cells

    Sorry made a mistake with that bit.

    Currently (B14)
    =IFERROR(VLOOKUP(1,Placements!$A$2:$D$5,1,0),"")
    Should be
    =IFERROR(VLOOKUP(1,Placements!$A$2:$D$5,2,0),"")

    For each cell (B14 to B18) change that last "1" to "2". This will then show the names.

+ 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] VBA to expand a referenced range of cells
    By clapforthewolfman in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-12-2013, 07:43 PM
  2. Pulling Text from a range of cells
    By Crimson123456 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-28-2013, 03:28 PM
  3. [SOLVED] MAX function returns zero over a range of referenced cells. Stumpped!
    By kyjae in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-04-2012, 04:25 PM
  4. Sorting Referenced Cells in VBA and Keeping Them Referenced
    By BrownTeddyBear in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2009, 06:15 AM
  5. Replies: 5
    Last Post: 03-20-2005, 10:06 PM

Tags for this Thread

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