+ Reply to Thread
Results 1 to 26 of 26

Looking for Support to display Corresponding values based on a specific cell value

  1. #1
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Looking for Support to display Corresponding values based on a specific cell value

    Hi,

    I am in the development of a worksheet, where I have to get the corresponding values in the rows based on the specific cell value. Attached my worksheet with my tryyyy. I need support from experienced hands to resolve the issue.

    Regards

    Suneesh
    Attached Files Attached Files

  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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    This is broken from before the start. Explain EXACTLY what you want in P3 and P4.
    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
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Dear All,

    Sorry, I attached a wrong file. Attached the updated file.

    Regards,

    Suneesh
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Hi Glen

    Sorry, I have attached a wrong file. Now I have attached the correct one.

    As you have asked in your reply :

    Forget about P3 field
    Based on P4, the amount spent on Specific months will be changed.
    I wanted to display the values in Date & Remarks rows too.

    Hope you understood the requirement.

    Regards,

    Suneesh

  5. #5
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    If there are multiple matching DIFFERENT dates, which one do you want returned?

    is the use of a UDF (.xlsm format) acceptable for the solution to some of the cells?

  6. #6
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Quote Originally Posted by Glenn Kennedy View Post
    If there are multiple matching DIFFERENT dates, which one do you want returned?

    is the use of a UDF (.xlsm format) acceptable for the solution to some of the cells?
    Hi,

    Either I should get both dates or at least the latest one.

    Rgds

  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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Please answer my second question!!!!!

  8. #8
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Quote Originally Posted by Glenn Kennedy View Post
    Please answer my second question!!!!!
    I am not looking macro-enabled one.

  9. #9
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    1. You can choose between latest date (as now) or "multiple" dates. Which do you want? If you want multiple dates, what is the MAXIMUM number per month. Before answering this, read point 2.

    =IFERROR(CHOOSE(MATCH($P$3,Head,0),LOOKUP(2,1/(($I$3:$I$1000=P$6)*($K$3:$K$1000=$P$4)),$J$3:$J$1000),LOOKUP(2,1/(($B$3:$B$1000=P$6)*($D$3:$D$1000=$P$4)),$C$3:$C$1000)),"")

    2. How many different "remarks" do you want returned (maximum). To avoid duplicates (Car, Car should be the result for vehicle/petrol in April) there is a fairly long formula in place. the more remarks you want, the longer it gets. Much easier with a macro enabled file!!

    3. To keep the formula human-readable I created 3 named ranges, (Rem_1, 2 &3). I see you are familiar with these, so no need to explain.

    =IF($P$3="Vehicle",Rem_1&IF(Rem_2=CHAR(10)&Rem_1,"",Rem_2)&IF(OR(Rem_3=CHAR(10)&Rem_1,Rem_3=Rem_2),"",Rem_3),"")

    4. Ensure you have text wrapping enabled in the results section

    5. I created a Named Range for Employee/Vehicle to enable me to create an INDEX number for CHOOSE to use.

    6. Formulae all run to row 1000. Is that enough/too much?
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 01-10-2021 at 04:52 AM.

  10. #10
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Hi,

    Thanks for your response. Please find below my response to your questions.

    1. If possible multiple dates to be shown. Maximum 2-3 entry will be in a month.
    2. Remarks will be the same as dates (2-3 entry). Even duplicate, no issue. (eg. Car, Car)
    6. Maximum Entry will be in 1500 rows.

    The rest all ok.

    Rgds

    Suneesh
    Last edited by Glenn Kennedy; 01-10-2021 at 05:47 AM. Reason: Don't quote huge chunks of stuff. it's just clutter and mess.

  11. #11
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    OK. I will finish it shortly.

  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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Try it now...

    Up to 3 dates and 3 remarks.
    Duplicates will show (date and remark match with each other - i.e. same row)
    6 more Named Ranges
    Rows maximum 1500.
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    I have just noticed your profile. It says Excel 2007. Is that still the case? If so the formulae will need to be modified. I am unsure, as you did not state after your first look at my solution that the remarks were not showing. It's a quick fix, if needed!!

  14. #14
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Quote Originally Posted by Glenn Kennedy View Post
    I have just noticed your profile. It says Excel 2007. Is that still the case? If so the formulae will need to be modified. I am unsure, as you did not state after your first look at my solution that the remarks were not showing. It's a quick fix, if needed!!
    Hi,

    Yes, I am still using Excel 2007.

    Regards,

    Suneesh

  15. #15
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Then you must not have looked at my sheet posted at #9!!!!!!!!! What a waste of time...

    i will make it Excel 2007-compatible shortly.

  16. #16
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Quote Originally Posted by Glenn Kennedy View Post
    Then you must not have looked at my sheet posted at #9!!!!!!!!! What a waste of time...

    i will make it Excel 2007-compatible shortly.

    No, I have seen the issue, but I thought I have done a wrong entry something.

  17. #17
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    This time TEST it and REPORT back. Dio not copy it into your real sheet. Test it here.

    You are using an older version of Excel than me. So, please refer to the attached file. If the formulae are enclosed within a pair of { }, these are array formulae.

    These are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see the curly brackets { } appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Hi,

    It's working perfectly. Appreciate your effort and thanks for the support.

    Rgds

    Suneesh
    Last edited by Glenn Kennedy; 01-11-2021 at 05:02 AM. Reason: Removing unnecessary clutter

  19. #19
    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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    You're welcome.



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

    It would also be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

  20. #20
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Hi Glen,

    I have modified the datasheet in my file and I have attached for your review.

    1. I have added one more column in the main sheet and merged both tables in one table. After merging I am not getting the results as I want.
    2. I have added some more items in the "HEAD" . At Cell Ref. $L$3 is having a drop-down menu.

    Can you please look into it and advise me where I got mistakes.

    Rgds

    Sune
    Last edited by Glenn Kennedy; 01-13-2021 at 04:30 AM. Reason: Removing unnecessary clutter AGAIN.

  21. #21
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Attached file
    Attached Files Attached Files

  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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Hi. please don't quote entire posts, especially when it is CLEAR who you're talking to. It's just clutter.

    Here is your sheet back again for testing.
    Attached Files Attached Files

  23. #23
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Quote Originally Posted by Glenn Kennedy View Post
    Hi. please don't quote entire posts, especially when it is CLEAR who you're talking to. It's just clutter.

    Here is your sheet back again for testing.
    Hi,

    It's working perfectly.

    thanks bro.

    Rgds

    Suneesh

  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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    You're welome. Did you read what I said about unnecessay quoting of posts???? I have deleted your unnecessay qutotations TWICE, asked you SPECIFICALLY to stop and you do it again!!!

  25. #25
    Registered User
    Join Date
    03-10-2017
    Location
    India
    MS-Off Ver
    2007
    Posts
    43

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Sorry, bro. By accidentally it's happened.

    Rgds

    Sun

  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
    44,025

    Re: Looking for Support to display Corresponding values based on a specific cell value

    Use reply, from the foot of a post, not reply with quote.

+ 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] Display text from specific cell based on result from a COUNTIFS
    By RookieExcele in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-27-2019, 09:58 AM
  2. Display specific values based on data from other cells
    By michaelb46 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-24-2017, 05:01 PM
  3. Display value based off of letter in specific cell.
    By Talk_4 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2015, 04:30 PM
  4. Display a specific result based on Cell Values in a row (Ex Attached)
    By chadly72 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2013, 03:15 PM
  5. Replies: 4
    Last Post: 06-28-2012, 07:08 AM
  6. Can name range display value based on the input of specific cell?
    By rusoo7 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-24-2010, 11:17 AM
  7. Display changes in cell based on values
    By oliver79 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-24-2009, 06:14 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