+ Reply to Thread
Results 1 to 7 of 7

Stuck! Unsure what I need (possibly vlookup)

  1. #1
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    13

    Stuck! Unsure what I need (possibly vlookup)

    Hello,

    I have attached an example of what I'm working with (sensitive data removed). In the attachment, I'm using the formula in column F on sheet 1 to return the Top 10 values from sheet 2. Currently, the information is pulling all people regardless of their status (sheet 2 column B). I'd like to continue to use the formula in column F on sheet 1 but make it specific to also either pull by status (temp or perm).

    The formula I'm using to return my Top 10 is:

    =IF(COUNTIF(RAW!$AL$2:$AL$500,">0.05")>='Top 10'!A59,LARGE(RAW!$AL$2:$AL$500,'Top 10'!A59),"None")

    I'd like to add to this formula a way to only return the top 10 Temp or Perm. I've tried adding a vlookup but I may be going about this wrong. Do I add an additional IF with specific conditions to the status? If so, I'm not sure how to make that work with my current formula. I'm really at a loss with this one. Please help!

    Thank you!!!
    Attached Files Attached Files
    Last edited by jostre; 03-09-2016 at 04:00 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Stuck! Unsure what I need (possibly vlookup)

    Your formula refers to sheets called RAW and 'Top 10', but in your sample file the names are Sheet1, Sheet2 etc.

    Pete

  3. #3
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Stuck! Unsure what I need (possibly vlookup)

    Try now. Sorry about that. Sheet 1 is Top 10, sheet 2 is RAW

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Stuck! Unsure what I need (possibly vlookup)

    Since you've copy/pasted these into a new spreadsheet, all the references mean almost nothing though?

    I think you're going to need an array structure on LARGE, something like:
    Please Login or Register  to view this content.
    Where the status_range will refer the range B2:B500 where employee status is kept, and the "perm" or "temp" on the other side of the equals sign could be a reference to a control cell.

    Array formulas are confirmed with CTRL+SHIFT+ENTER keys, not just the ENTER key alone.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  5. #5
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Stuck! Unsure what I need (possibly vlookup)

    =IF( COUNTIF(RAW!$AC$2:$AC$500,">0.05") >= 'Top 10'!A58,LARGE(IF(RAW!X:X ="Temp",RAW!$AC$2:$AC$500,""),'Top 10'!A58),”None”)

    That is what I just tried and it didn't work. It worked, but it returned a mix of Temp and Perm. I also confirmed the array as you recommended.

  6. #6
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Stuck! Unsure what I need (possibly vlookup)

    You have a range offset error in that syntax, you're comparing values starting from X1 but pulling info starting from AC2. So you're pulling from the row above the correct row.

    Please Login or Register  to view this content.
    try that.

  7. #7
    Registered User
    Join Date
    02-13-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Stuck! Unsure what I need (possibly vlookup)

    That worked! Thank you soooo much!!!

+ 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. Using vlookup and possibly if to populate cells
    By jaffacakes in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-09-2016, 08:27 AM
  2. If or possibly VLookup formula help
    By LRGy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-11-2016, 08:58 AM
  3. Vlookup with index/match possibly.
    By Kramxel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2015, 06:06 AM
  4. Vlookup possibly
    By lian.cragg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2011, 02:50 PM
  5. Vlookup across sheets, nested Vlookup possibly?
    By paid2mkgrlspanic in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-09-2009, 05:10 PM
  6. Possibly combining counta and vlookup
    By skatmandu2002 in forum Excel General
    Replies: 5
    Last Post: 01-20-2009, 04:47 PM
  7. Possibly vlookup
    By Carleilam in forum Excel General
    Replies: 2
    Last Post: 02-03-2008, 06:03 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