+ Reply to Thread
Results 1 to 12 of 12

Formula for Auto Change 0 With Blank and Auto Short To the Top Table

  1. #1
    Registered User
    Join Date
    12-27-2018
    Location
    Indonesia
    MS-Off Ver
    2016
    Posts
    27

    Cool Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Hello, it's me again xD
    Need help for this situation.
    Let's Pictures talk.

    Screenshot_14.jpg
    Screenshot_15.jpgScreenshot_16.jpg
    Screenshot_17.jpgScreenshot_18.jpg

    I know i can do this manualy, but what if i have 50 or 100 Sheet? xD.
    Is this possible to make formula for this auto Short?
    Last edited by Blek; 01-24-2019 at 12:21 AM. Reason: Done Solved

  2. #2
    Registered User
    Join Date
    12-27-2018
    Location
    Indonesia
    MS-Off Ver
    2016
    Posts
    27

    Exclamation Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Sample Here..
    Attached Files Attached Files

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    in Sheet 2 B4: =IFERROR(INDEX('1. Manual'!$B$4:$B$13,MATCH(0,IF('1. Manual'!$B$4:$B$13<>"",COUNTIF('2. Auto Sunday'!$B$3:B3,'1. Manual'!$B$4:$B$13)),0)),"") - Array formula.

    In Sheet2 AA4: do an index match wrapped in a IFERROR
    Last edited by PaulM100; 01-23-2019 at 08:19 AM.
    Click the * to say thanks.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Please try at sheet Sunday
    B3
    =INDEX('1. Manual'!A3:I3,SHEET())

    A4:B4 drag down

    =IFERROR(INDEX('1. Manual'!$A:$F,AGGREGATE(15,6,ROW('1. Manual'!$A$4:$F$16)/(INDEX('1. Manual'!$A$4:$F$16,,MATCH($B$3,'1. Manual'!$A$3:$H$3,))<>""),ROWS(A$4:A4)),MATCH(A$3,'1. Manual'!$A$3:$H$3,)),"")

    copy A1:D14 to the next sheet
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-27-2018
    Location
    Indonesia
    MS-Off Ver
    2016
    Posts
    27

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Quote Originally Posted by PaulM100 View Post
    in Sheet 2 B4: =IFERROR(INDEX('1. Manual'!$B$4:$B$13,MATCH(0,IF('1. Manual'!$B$4:$B$13<>"",COUNTIF('2. Auto Sunday'!$B$3:B3,'1. Manual'!$B$4:$B$13)),0)),"") - Array formula.

    In Sheet2 AA4: do an index match wrapped in a IFERROR

    At B4 Working like a charm
    But i don't know what to do in A4? I am googling and searching, but still confuse to do an index match formula. Help? xD


    Quote Originally Posted by Bo_Ry View Post
    Please try at sheet Sunday
    B3
    =INDEX('1. Manual'!A3:I3,SHEET())

    A4:B4 drag down

    =IFERROR(INDEX('1. Manual'!$A:$F,AGGREGATE(15,6,ROW('1. Manual'!$A$4:$F$16)/(INDEX('1. Manual'!$A$4:$F$16,,MATCH($B$3,'1. Manual'!$A$3:$H$3,))<>""),ROWS(A$4:A4)),MATCH(A$3,'1. Manual'!$A$3:$H$3,)),"")

    copy A1:D14 to the next sheet
    At B3 i put =INDEX('1. Manual'!A3:I3,SHEET()) but it's error and said #NAME?
    And the other when i drag, blank. Did i something wrong with this formula?

    Screenshot_19.jpg

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    in A4: =IFERROR(NDEX('1. Manual'!$A$4:$A$13,MATCH(B4,'1. Manual'!$B$4:$B$13,0))

  7. #7
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    AGGREGATE is available from Excel 2010, you have an older version.

    Then B3 need to fill manually

    A4 press Ctrl+Shift+Enter drag to B4 and drag down

    =IFERROR(INDEX('1. Manual'!$A:$F,SMALL(IF((INDEX('1. Manual'!$A$4:$F$16,,MATCH($B$3,'1. Manual'!$A$3:$H$3,))<>""),ROW('1. Manual'!$A$4:$F$16)),ROWS(A$4:A4)),MATCH(A$3,'1. Manual'!$A$3:$H$3,)),"")
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-27-2018
    Location
    Indonesia
    MS-Off Ver
    2016
    Posts
    27

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Quote Originally Posted by PaulM100 View Post
    in A4: =IFERROR(NDEX('1. Manual'!$A$4:$A$13,MATCH(B4,'1. Manual'!$B$4:$B$13,0))
    Hmm. Not working on A4. I changed =IFERROR(NDEX( to =IFERROR(INDEX(
    Screenshot_20.jpg

    Quote Originally Posted by Bo_Ry View Post
    AGGREGATE is available from Excel 2010, you have an older version.

    Then B3 need to fill manually

    A4 press Ctrl+Shift+Enter drag to B4 and drag down

    =IFERROR(INDEX('1. Manual'!$A:$F,SMALL(IF((INDEX('1. Manual'!$A$4:$F$16,,MATCH($B$3,'1. Manual'!$A$3:$H$3,))<>""),ROW('1. Manual'!$A$4:$F$16)),ROWS(A$4:A4)),MATCH(A$3,'1. Manual'!$A$3:$H$3,)),"")
    Okay, thank you now it's works ;D.

  9. #9
    Registered User
    Join Date
    12-27-2018
    Location
    Indonesia
    MS-Off Ver
    2016
    Posts
    27

    Arrow Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Quote Originally Posted by Bo_Ry View Post
    AGGREGATE is available from Excel 2010, you have an older version.

    Then B3 need to fill manually

    A4 press Ctrl+Shift+Enter drag to B4 and drag down

    =IFERROR(INDEX('1. Manual'!$A:$F,SMALL(IF((INDEX('1. Manual'!$A$4:$F$16,,MATCH($B$3,'1. Manual'!$A$3:$H$3,))<>""),ROW('1. Manual'!$A$4:$F$16)),ROWS(A$4:A4)),MATCH(A$3,'1. Manual'!$A$3:$H$3,)),"")
    Aahh Sorry again, need quick help xD.
    I try your Formula with new Data. And try formula in different angle. But it keeps me dizzy, i am so confuse.
    Let's see my Picture

    Screenshot_21.jpg
    Screenshot_22.jpgScreenshot_23.jpg

    How if the condition like that. Only keep line if theres some text in Coloum Time?
    Attached Files Attached Files

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Please try at A4 Press CSE drag to the right and down

    =IFERROR(INDEX(Manual!A:A,SMALL(IF(Manual!$A$4:$A$23<>"",ROW(Manual!$A$4:$A$23)),ROWS(A$4:A4))),"")
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-27-2018
    Location
    Indonesia
    MS-Off Ver
    2016
    Posts
    27

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Quote Originally Posted by Bo_Ry View Post
    Please try at A4 Press CSE drag to the right and down

    =IFERROR(INDEX(Manual!A:A,SMALL(IF(Manual!$A$4:$A$23<>"",ROW(Manual!$A$4:$A$23)),ROWS(A$4:A4))),"")
    Itttttssssssssssss PERFEEECTTTTT!!! You save my day twice! Thank you so much!
    I have 50 Sheet and 250 Line. With this, all become simple.

    All done.
    Thank you again and again hehe ;D.

  12. #12
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Formula for Auto Change 0 With Blank and Auto Short To the Top Table

    Happy to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Short cut key or VBE to auto populate a sentence
    By Andy308 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-19-2018, 01:50 PM
  2. [SOLVED] Help needed with coding to auto sort a table with blank cells.
    By SLIDE1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-06-2018, 05:21 PM
  3. [SOLVED] Macro to auto short out
    By cyee in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-10-2015, 03:25 AM
  4. [SOLVED] Auto Populate cell based on auto filter selection from table in same sheet
    By missydanni in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-02-2013, 05:03 PM
  5. VBA in change event format to auto remove rows having zero value and auto sort
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-06-2013, 09:18 AM
  6. Auto fill & auto blank cell
    By sushant.gore in forum Excel General
    Replies: 1
    Last Post: 10-07-2010, 01:06 PM
  7. Auto change Pivote Table
    By amit_m04 in forum Excel General
    Replies: 0
    Last Post: 04-21-2005, 12:24 AM

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