+ Reply to Thread
Results 1 to 67 of 67

LOOKUP and Filter Based on Combined Condition

  1. #1
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Post LOOKUP and Filter Based on Combined Condition

    Dear friends, 2019-12-10 15_49_37-Test sheet - Excel.jpg2019-12-10 15_49_02-Test sheet - Excel.jpg

    in attached excel sheet image, i need to filter the radiation and active power based on following combine conditions and paste in filter data sheet.

    1. filter date & time, active and radiation data which are between radiation 200 to 1000
    2. filter date &time, active and radiation data which are below ambient temperature 40 Deg C
    3. filter date & time, active and radiation data which are not having negative active power data(Ex. -35)

    need formulas and functions to filter and past in other sheet.

    Thanks!
    Last edited by AliGW; 12-13-2019 at 05:18 AM. Reason: Please don't SHOUT for attention in your thread titles.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 pictures.

    Please read the yellow banner at the top of the screen. Act on its guidelines and post a SMALL sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    2019-12-11 14_32_32-LOOKUP and FILTER BASED ON COMBINED CONDITION - Reply to Topic.png

    i dont know why i cannot attach excel sheet. its not going to pop out window to upload.

    please help

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    More detailed instruction:

    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Make sure confidential information is removed first!!!!

  5. #5
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    2019-12-11 14_32_32-LOOKUP and FILTER BASED ON COMBINED CONDITION - Reply to Topic.png

    pop out window is not opening when i click the attachment.

    can any one help.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    That came out looking rather larger than I had intended!!

  8. #8
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Hello friends,

    Please find excel sheet in which i need formula and function to filter the data as mentioned in the tags. repeating once again my requirments.

    1. filter date & time, active and radiation data which are between radiation 200 to 1000
    2. filter date &time, active and radiation data which are below ambient temperature 40 Deg C
    3. filter date & time, active and radiation data which are not having negative active power data(Ex. -35)
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Quote Originally Posted by Glenn Kennedy View Post
    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.
    thanks a lot glenn

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    I am a little confused by your request. You have 3 sets of conditions. Does this mean that you need 3 separate sets of results?

  11. #11
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Dear Glenn,

    thanks for reply, let me elaborate it some more.

    there data in raw sheet, from that, i need to filter the data(date, time, active power and radiation) with combined below multiple conditions to show it filter data sheet.

    1. active power which is not in negative
    2. radiation between 200 to 1000
    3. amb temperature below 40

    Hope you could able to understand. or else we will filter data by first condition.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    I have assumed that your answer was "Yes". Use variants of this:

    =IFERROR(INDEX('Raw Data'!A:A,AGGREGATE(15,6,ROW('Raw Data'!$A$3:$A$289)/(('Raw Data'!$D$3:$D$289>=200)*('Raw Data'!$D$3:$D$289<=1000)),ROWS(A$3:A3))),"")

    see sheet.
    Attached Files Attached Files

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Ignore the above post!!

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    All 3 conditions, combined.

    =IFERROR(INDEX('Raw Data'!A:A,AGGREGATE(15,6,ROW('Raw Data'!$A$3:$A$289)/(('Raw Data'!$D$3:$D$289>=200)*('Raw Data'!$D$3:$D$289<=1000)*('Raw Data'!$E$3:$E$289<40)*('Raw Data'!$C$3:$C$289>0)),ROWS(A$2:A2))),"")
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Dear Glenn,

    Thanks lot!

    i have to do lot of things with this sheet from here now. i have to include some more conditions also. can i ask here itself. can you please help.

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Sure. I'll be back later. Out for a long walk!!

  17. #17
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Dear Glenn,

    there are 10 more condition in column G to P. in each column cell, i will put value 1 if that condition existing at that time. in column Q i mention output of conditions that is sum of all all conditions. date, time, active power, radiation, temperatures should neglected from filtered data with existing filter conditions.Attachment 653508 respective to the cell(Q column) which has more value 0. so final filtered data should in filter data sheet.

    for more clarity, i'm attaching image also for your reference. please help to fix this also.

    Thanks for your support in advance.2019-12-11 14_32_32-LOOKUP and FILTER BASED ON COMBINED CONDITION - Reply to Topic.png
    Attached Files Attached Files
    Last edited by Steave; 12-11-2019 at 06:44 AM.

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Is this what you meant?

    =IFERROR(INDEX('Raw Data'!A:A,AGGREGATE(15,6,ROW('Raw Data'!$A$3:$A$289)/(('Raw Data'!$D$3:$D$289>=200)*('Raw Data'!$D$3:$D$289<*('Raw Data'!$C$3:$C$289>0)=1000)*('Raw Data'!$E$3:$E$289<40)*('Raw Data'!$Q$3:$Q$289<>0)),ROWS(A$2:A2))),"")
    Attached Files Attached Files

  19. #19
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Dear Glenn,

    Nope.

    actually i want to remove that extracted valueand remaining value should be available in that sheet.

    thanks for support.Attachment 653520

  20. #20
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    In that case:

    =IFERROR(INDEX('Raw Data'!A:A,AGGREGATE(15,6,ROW('Raw Data'!$A$3:$A$289)/(('Raw Data'!$D$3:$D$289>=200)*('Raw Data'!$D$3:$D$289<*('Raw Data'!$C$3:$C$289>0)=1000)*('Raw Data'!$E$3:$E$289<40)*('Raw Data'!$Q$3:$Q$289=0)),ROWS(A$2:A2))),"")

    It's always easier with a small sheet (10-20 rows) and some manually calculated results!!! That's why we put the yellow banner up there....

  21. #21
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Dear Glenn,

    Thanks a lot. its working well. i need support for following requirement also.

    1. is it possible to generate linear curve automatically when data available
    2. can we bring the linear regression equation from graph to cell when i entered the date in the summary sheet.

    attaching excel sheet for your reference.

    this excel sheet has only 20 rows. thanks a lot supporting continuously.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 12-13-2019 at 09:50 AM.

  22. #22
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    The first thing I did was to copy paste the formula back down the sheet. I modified the formula in G:

    =IF(A2="","",C2/31000)

    I then set up two Named Ranges (CTRL-F3 to view edit) - Rad and AC_Pwr looking like this:

    ='Filter Data'!$G$2:INDEX('Filter Data'!$G$2:$G$130,SUMPRODUCT(--(LEN('Filter Data'!$G$2:$G$130)>0)))

    I then went to Chart tools/design/select data/Linear regression/Edit

    and changed the references to the X and Y data like this:

    ='Test sheet (2) (1).xlsx'!Rad

    It's ESSENTIAL to include the filename!! OK/OK.

    That's it, I think... Now you can change some )s to 1s on the raw data and the regression remains correct
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    Dear Glenn,

    There are some concerns and help i need.

    1. when i removed data graph only disappearing. chart is still available. it should disappear also.
    2. the equation from linear regression should paste in summary sheet cell of b column when i entered date in the column of A.
    3. this sheet is going to use for 15 days. for example i will put date 1-Nov-19 to 15-Nov-19. when i put new date data in the raw data sheet, the new graph should appear automatically.

    i think i'm asking lot you. sorry for that. please help to fix.

    thanks a lot for support.

    attaching images and test sheet for your reference.

    requirement of equation in cell.png

    Untitled.png
    Attached Files Attached Files

  24. #24
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and FILTER BASED ON COMBINED CONDITION

    I have NOT used your sheet. How can you tell, in advance, that there will ALWAYS be 20 rows of data? The sheet I am using is fully automated, and will adapt to ANYTHING up to 1000 rows of raw data and ANYTHING up to 130 rows of filtered data).

    If no date is selected, no data will display. (instead of a blank, the formula reurns #N/A - which the chart will ignore. I used Conditional Formatting to colour the #N/A error the same as the shading in the cell, so you don't see them.

    I used 2 Named Ranges (CTRL-F3 to view/edit) to select only those values in D and G that are NUMBERS to use in the calculation of the slope and intercept (presented in two different ways - choose whichever you prefer. If you are going to use the numbers in further formulae, then D2 and E2 will be much easier to use, rather than a messy cell containing numbers and text (B2).
    Attached Files Attached Files

  25. #25
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    Thanks a lot for new sheet and advising continuously. i can able to see the equation in summary sheet based on date.

    there is last concern. if i update the data of 2nd Nov in raw data sheet, filter data and graph is not appearing in filter data sheet. please find image.

    sorry if it is already available in the sheet. i don't know how to view the that. could you please help.

    thanks a lot for your patience for my stupid questions and seeking help..
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 12-13-2019 at 09:53 AM.

  26. #26
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    The graph that is dsisplayed is for the 2nd November. Change the date in a2 and the graph updates.

  27. #27
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    It looks the same 'cos you have used the same data.

  28. #28
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    if you dont mind, could you please share your skype address. or you can add me. my skype address : "sudhakarvell"

    i would like to discuss and clear about my last concern. still didnt clear for me.

    thanks for support.

  29. #29
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    This is a public forum. Address your concerns on the forum.

  30. #30
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    apologize for asked Skype address.

    following my concern.

    the sheet is look like generate graph for one day only. need to change the date in same cells. but my requirements is cumulative requirement. example i will update data 1st nov today, then i will update 2nd nov data tomorrow. so tomorrow sheet will contain both 1st and 2nd nov data in raw data. therefore, filter sheet also contain 1st and 2nd nov data tomorrow. and 2 graph generated. like that i will update for 15 days. end of the day that whole contains data of 1st nov to 15 th nov and filter data for whole 15 days and 15 graph should available.

    i hope you understand concern. i will attaching excel for your reference.

    please advise and help.
    Attached Files Attached Files

  31. #31
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Which do you prefer? Slope and Intercept separately, or both in one formula?

  32. #32
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    I need both in the formula.

  33. #33
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    I am probably going to create 15 sheets, one for each day. This will be significantly quicker than making 15 separate data tables and graphs on the one sheet.

  34. #34
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    thanks for that. but i would like to have it in one sheet for 15 days. as we will submit report as single sheet.

    is it possible to make it in single sheet.

    Thanks for support.

  35. #35
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    In that case, you can do it. I will explain WHAT to do. But YOU will do it.

  36. #36
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    What is the MAXIMUM number of datapoints in ONE day?

  37. #37
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    one day has 1500 data points.

  38. #38
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    So, you want 15x1500 = 22,500 rows of data ALL on ONE sheet?????? Navigating round that will be horrible.

  39. #39
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    understand its very difficult. please provide separate sheet. raw data should be one sheet. that is what i wanted. if filter data is separate sheet coming with graph. that will be good.

  40. #40
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    And... please stop attaching massive screenshots. this thread is increasingly difficult to follow because of these unnecessary images.

  41. #41
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Answer my question YES or NO:

    Do you want 15x1500 = 22,500 rows of data ALL on ONE sheet

  42. #42
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Glenn Kennedy View Post
    And... please stop attaching massive screenshots. this thread is increasingly difficult to follow because of these unnecessary images.
    Okey noted. Apologize for that.

  43. #43
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Glenn Kennedy View Post
    Answer my question YES or NO:

    Do you want 15x1500 = 22,500 rows of data ALL on ONE sheet
    Yes i want one sheet.

  44. #44
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    One final question. Do you actually want to have the graphs, or are you really only interested in the regression equations?

    It might be possible to get the equation without 22500 rows of resource-hungry formulae.

  45. #45
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Another final question. If you do want all the graphs and formulae, can we restrict it to just columns D and G.

    I suspect this sheet will be very, very slow.

  46. #46
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Glenn Kennedy View Post
    One final question. Do you actually want to have the graphs, or are you really only interested in the regression equations?

    It might be possible to get the equation without 22500 rows of resource-hungry formulae.
    We need to show the graph.we need to show that equation predicted by linear regression curve.

  47. #47
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Glenn Kennedy View Post
    Another final question. If you do want all the graphs and formulae, can we restrict it to just columns D and G.

    I suspect this sheet will be very, very slow.
    Nope we need show all columns. There will be some corrections will be take using module temperatures data.

  48. #48
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    This is NOT going to work. You are expecting too much from Excel. With 30,000 rows of raw data it is going to crash. INEVITABLY. EVERY TIME. It will SIMPLY NOT WORK the way you want it to.

    This is my LAST offer to you.

    1. Calculate the regression formula for all days, over a range of 25,000 rows using a formula. Even this might be IMPOSSIBLY slow.

    2. Using a dropdown box, select an individual day. The filtered data and graph will populate. If you want to see another day, select another day from the dropdown. With up to 1500 rows of data coming from 25000 rows of raw data, each time you change the date chosen, there will be about a one minute wait.

    If that is not acceptable to you - then you are on your own.

  49. #49
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Glenn Kennedy View Post
    This is NOT going to work. You are expecting too much from Excel. With 30,000 rows of raw data it is going to crash. INEVITABLY. EVERY TIME. It will SIMPLY NOT WORK the way you want it to.

    This is my LAST offer to you.

    1. Calculate the regression formula for all days, over a range of 25,000 rows using a formula. Even this might be IMPOSSIBLY slow.

    2. Using a dropdown box, select an individual day. The filtered data and graph will populate. If you want to see another day, select another day from the dropdown. With up to 1500 rows of data coming from 25000 rows of raw data, each time you change the date chosen, there will be about a one minute wait.

    If that is not acceptable to you - then you are on your own.
    In this case, can you please provide separate sheet for filter data

  50. #50
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Steave View Post
    In this case, can you please provide separate sheet for filter data
    If possible can you provide that for 5 daya. Just i want to know, if everything is comes in one sheet.
    Aa
    Really sorry man for asking lot

  51. #51
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    It will not work. My PC crashed setting up the second one. So I can NOT help any further.

  52. #52
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34
    Quote Originally Posted by Glenn Kennedy View Post
    It will not work. My PC crashed setting up the second one. So I can NOT help any further.
    Sorry to hear about that. Thanks a lot for all the support

  53. #53
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    this is final sheet. its only for 5 days. what i did is raw data will be fill in one sheet. filter data which come different sheet.

    the problem is now, summary sheet is updating only for filter data 1(Lin.reg-day 1). for remaining day, its not updating.

    could you please help to fix it.

    sorry for attaching whole sheet.

    thanks for support.
    Attached Files Attached Files

  54. #54
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Hi,

    I'm facing following issues in attached sheets. could any one help.

    there is some error in these sheet. i couldnt able correct it. raw data has data of 1st nov to 5th nov. following things need to be correct

    1. when i enter date in A2, same Lin. reg.equation is coming in b3, b4, b5, b6 . this need to correct. that is b3, b4, b5, b6 should has equation of 2nd nov, 3rd nov, 4th nov, 5th nov.
    2. lin.reg day 2, Lin reg day 3, Lin reg day 4, Lin reg day 5 is not filtering data when i enter respective date(2-nov-19, 3-nov-19, 4-nov-19, 5-nov-19) in a3, a4, a5, a6.

    Thanks for support
    Attached Files Attached Files

  55. #55
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    I will give this ONE more go. But I will NOT be using your sheet. I will use one from a little earlier. ARE you still planning to have up to 30000 rows of raw data and up to 1500 points on each day?

    Please confirm YES or NO.

  56. #56
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Hi Glenn,

    No. i need for 10 DAYS. That is for 15000 rows

    thanks.
    Last edited by Steave; 12-20-2019 at 04:42 AM.

  57. #57
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    I hope that this is close to what you want. DO NOT worry about the size of ranges and so on.

    Q1. Will the design work?

    Q2. Are there ANY columns in the DayXX sheets that we can get rid of?

    Please answer both questions clearly.
    Attached Files Attached Files

  58. #58
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    find my answer

    Q1. Will the design work?

    --> This design perfectly work.

    Q2. Are there ANY columns in the DayXX sheets that we can get rid of?

    -->we can rid column D of Dayxx. its not required in filter sheet.

    Thanks for support.

  59. #59
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Next step. Populate Raw Data with a full set of data. Save as a zip file, or an xlsb, if it is too big and re-post.
    Attached Files Attached Files

  60. #60
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Hi Glenn,

    i dont have that much data right now.

    but i updloaded 15 days of data with 5 minutes interval. that means each day has 288 rows. so totally data available for 4320 rows now.

    Thanks!
    Attached Files Attached Files

  61. #61
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Away for 2 hr. I need a full dataset, to see if it is viable. Set first 1500 rows to 1/1/19, the next 1500 to 2/11/19. Same for next 1500. Then copy paste down. Just change the dates, so tou have a full set of 10 days 1500 rows each. Even if they are the same.

  62. #62
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    could you please explain the formula about connection with date and respective equation showing b column of summary sheet and respective data showing in filter sheet?

    i would like to learn.. i added 4th Dec. but i couldn't able to see the equation of fourth. and if i paste the formula from b4 to b5, its showing value of b4. could you please teach me?

    Thanks for support.

  63. #63
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Later. One step at a time. Mock up 10 sets of 1500 points first.

  64. #64
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenns,

    Please find attached as you requested.

    Thanks for support.
    Attached Files Attached Files

  65. #65
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Next step. 3 days, each with (potentially) 1500 rows of data. Add any date between 1/1/12 and 12/12/19 ONE AT A TIME in A2:A4. Each date takes 30 seconds to calculate on my 4-year old PC. Does it work OK on your sheet? If so, then we can try to extend it to 5 days and see what happens!

    One thought. Is there a possibility of having the raw data for each day in a separate FILE and having one summary FILE drawing in the slope & Intercept??

    So. Does it work?

    Is there a possibility to divide the data up over multiple files?
    Attached Files Attached Files

  66. #66
    Registered User
    Join Date
    12-10-2019
    Location
    Delhi, India
    MS-Off Ver
    2016
    Posts
    34

    Smile Re: LOOKUP and Filter Based on Combined Condition

    Dear Glenn,

    Apologize for late reply.

    in my computer, its taking 15s to calculate. please find my answer to your question.

    One thought. Is there a possibility of having the raw data for each day in a separate FILE and having one summary FILE drawing in the slope & Intercept??

    --->we would like to have one workbook to have easy review and approval.

    So. Does it work?

    ---> it wont work.

    Is there a possibility to divide the data up over multiple files?

    --->we would like to have one workbook to have easy review and approval.

    Looking forward to final sheet.

    thanks for support.

  67. #67
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: LOOKUP and Filter Based on Combined Condition

    Here it is - with 5 sheets. If you want to try it with more, here are the instructions.

    Copy Summary A6 & B6 down by ONE row.
    Set calculation options to manual.
    Click on day 1 tab name. Right click.
    Move or copy/move to end (you may need to scroll down to see that)/create a copy.
    Rename new sheet Day6.
    In B2, amend references to A2 to correct row (a7 for day 6)
    CTRL F3, edit the names of the 3 ranges that refer to Day 6 in line with the other ranges - the pattern is obvious.
    Close
    Summary last row in column B. Amend formula in 3 places to read Day6
    Set calculation options to automatic.
    Check that the slope/intercept are different from all others (I randomly excluded values all the way down the data).
    Repeat as required.
    Attached Files Attached Files

+ 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] How to highlight or filter values in a table based on another condition
    By stevemalekano in forum Excel General
    Replies: 3
    Last Post: 05-31-2018, 04:39 AM
  2. [SOLVED] Lookup based on certain condition
    By jw01 in forum Excel General
    Replies: 5
    Last Post: 05-30-2018, 02:00 PM
  3. [SOLVED] Filter and Copy Visible cells based on condition
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2017, 09:31 PM
  4. Filter down spreadsheet into another sheet based on a condition
    By tyson187 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-23-2015, 08:06 AM
  5. [SOLVED] VBA to Lookup value based on two condition.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-03-2014, 12:30 PM
  6. [SOLVED] Filter based on multiple or condition
    By mangesh in forum Excel General
    Replies: 5
    Last Post: 11-06-2013, 03:30 AM
  7. Replies: 13
    Last Post: 05-31-2006, 04:30 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