+ Reply to Thread
Results 1 to 12 of 12

Indirect & small

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Indirect & small

    Hi guys, so i am basically trying to incorporate indirect into the formula below.. but i am not doing very well,
    someone mind fixing my error so i can learn from it?

     =IF(ISERROR(SMALL(Pickrates!$M$6:$M$326,B6))," ",IF(SMALL(Pickrates!$M$6:$M$326,B6)<=249,SMALL(Pickrates!$M$6:$M$327,B6),""))
    The original ^

    =IFERROR(SMALL(INDIRECT("'" & G2 &"'!$m$6:$m$326"),B6)," ",IF(SMALL(INDIRECT("'" & G2 &"'!$M$6:$M:$326",B6))
    My try ^

    thanks.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,734

    Re: Indirect & small

    Try

    =IF(IFERROR(SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6)," "),IF(SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6)<=249,SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6),""))

  3. #3
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Re: Indirect & small

    it works thanks, but also returns #VALUE! if the cell is empty.. way to get rid of that?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,734

    Re: Indirect & small

    Which cell?

    If G2 then do

    =IF(G2="","",formula)

    if B6 then same as above

  5. #5
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Re: Indirect & small

    But if the formula already has iferror how can i add =IF(B6="","",formula)

    =IF(IFERROR(SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6)," "),IF(SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6)<=249,SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6),""))

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Indirect & small

    Hi

    I suppose you can use this formula
    Formula: copy to clipboard
    =IFERROR(SMALL(INDIRECT("'" & G2 &"'!$M$6:$M$13"),B6)," ")

    to correct your try.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,734

    Re: Indirect & small

    Using Jose's formula:

    =IF(B6="","",IFERROR(SMALL(INDIRECT("'" & G2 &"'!$M$6:$M$13"),B6)," "))

  8. #8
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Re: Indirect & small

    He's doesn't have the <=249, tho?

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,734

    Re: Indirect & small

    then ...



    =IF(B6="","",IF(IFERROR(SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6)," "),IF(SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6)<=249,SMALL(INDIRECT("'" &G2 &"'!$M$6:$M$326"),B6),"")))

  10. #10
    Forum Contributor
    Join Date
    05-06-2017
    Location
    London, United Kingdom
    MS-Off Ver
    2016
    Posts
    282

    Re: Indirect & small

    Hi john, sorry to bother you again.. but i been away from this post and only just looked back at this workbook, that formula still returns #VALUE! if there is no data?

  11. #11
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Indirect & small

    Hi
    Try this
    Last edited by José Augusto; 01-18-2018 at 05:33 PM. Reason: The formula is not good.

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,868

    Re: Indirect & small

    Hello Lee,

    This has been sitting unanswered for a couple of days and it appears that it is hard to understand what is going on. Suggest that you upload a sample that demonstrates the issue you are having with one cell displaying a #VALUE error when another cell is blank.
    To upload a sample workbook click on the GO ADVANCED button below the Quick Reply window and then scroll down to Manage Attachments to open the upload window.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Request for Excel formula for two conditions (Large to small, then small to large)
    By nicholascky in forum Excel Formulas & Functions
    Replies: 29
    Last Post: 08-14-2016, 01:16 PM
  2. Replies: 19
    Last Post: 06-15-2016, 02:43 PM
  3. How Small Function works when small(array,1),small(array,2) are same ?
    By bkvenkat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2015, 02:00 AM
  4. [SOLVED] Ranking from small to big not big to small ?
    By makinmomb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-05-2014, 01:01 PM
  5. [SOLVED] INDIRECT Function with multiple sheets - SUMIF, INDIRECT & MATCH
    By DJDRU in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2014, 08:42 AM
  6. Functions similar to SMALL or overcome limitations of SMALL
    By arvindtechie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-05-2013, 10:59 AM
  7. Sum of indirect sheet names with multiple cells (SUM, INDIRECT,SHEETNAME in cell)
    By a1b2c3d4e5f6g7h8 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2013, 08:42 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