Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2018, 03:45 AM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default Get actual record to stay


Hi,

Is there a way to get a value to stay when you lookup a value on another sheet and then filter that sheet? Currently if I filter the source obviously the records stay are only the ones which are in that filter Im after all records regardless of if I filter the source or not.

Thanks
Reply With Quote
  #2  
Old 02-19-2018, 06:55 AM
jeffreybrown jeffreybrown is offline Get actual record to stay Windows Vista Get actual record to stay Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

You might need to provide some more information here.

Such as a sample workbook or at least what are you using as a formula.
Reply With Quote
  #3  
Old 02-20-2018, 01:38 AM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

I cant get it to happen anymore but I cant get my vlookup working either? Ive attached a sample which should be clear but it comes back NA in the vlookup result?
Attached Files
File Type: xlsx SampleData.xlsx (10.6 KB, 8 views)
Reply With Quote
  #4  
Old 02-20-2018, 05:32 AM
jeffreybrown jeffreybrown is offline Get actual record to stay Windows Vista Get actual record to stay Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

It's because you can't use the Vlookup to look backwards.

From the Excel help:

Quote:
Looks in the first column of an array and moves across the row to return the value of a cell
Try this instead...

=IFERROR(INDEX('Data Sheet'!B:B,MATCH(B3,'Data Sheet'!C:C,0)),"")
Reply With Quote
  #5  
Old 02-20-2018, 08:45 AM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

Thank you - can you tell me, how do I use multiple criteria to lookup info. For example the attached a company can have a variety of products delivered all to the same site and all under the same delivery number but they'll have different total values (per product). How do I go across the spread sheet to return the total value in sheet2 Product 2 #? Thanks
Attached Files
File Type: xlsx SampleData.xlsx (10.9 KB, 7 views)
Reply With Quote
  #6  
Old 02-20-2018, 10:58 AM
jeffreybrown jeffreybrown is offline Get actual record to stay Windows Vista Get actual record to stay Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

How about something like this...

I would also consider investing some time in learning how to use a Pivot Table. PT's make consolidating data a breeze.
Attached Files
File Type: xlsx SampleData (1).xlsx (16.1 KB, 7 views)

Last edited by jeffreybrown; 02-20-2018 at 04:25 PM.
Reply With Quote
  #7  
Old 02-20-2018, 01:49 PM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

That's perfect - just going to read up on sumif so I can understand whats going on.

How would a pivot table benefit this kind of setup?
Reply With Quote
  #8  
Old 02-20-2018, 04:27 PM
jeffreybrown jeffreybrown is offline Get actual record to stay Windows Vista Get actual record to stay Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

I updated the attachment in post # 6 to give you an idea of what a PT can do for you.

Again, PT's are a powerful tool in Excel and can be used in many different ways. Worth learning.
Reply With Quote
  #9  
Old 02-28-2018, 06:22 AM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

Thanks again - I think the data source is from a pivot table. Could you tell me how to overcome the following please? Ive attached an updated example whereby the delivery numbers all be it the same as its preceeding delivery number (in some cases) isn't in the cell and therefor throws the formula to lookup the value.

It wont always be the case there are multiple product types for a delivery number as per "TestCompany2" in the attached which only has one delivery number for one product.
Attached Files
File Type: xlsx SampleData (1).xlsx (17.7 KB, 9 views)
Reply With Quote
  #10  
Old 02-28-2018, 04:32 PM
jeffreybrown jeffreybrown is offline Get actual record to stay Windows Vista Get actual record to stay Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

On the Data Sheet
  • Highlight >> B3:B9
  • Select F5 >> Special
  • Toggle blanks >> OK
  • Select the equal sign >> up arrow >> Ctrl + Enter
  • Highlight column B >> copy >> pastespecial as values
Reply With Quote
  #11  
Old 03-01-2018, 03:22 AM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

I think because its a pivot table I cant use the above suggestion, Im just looking how the pivot table has been setup to remove the toggle +/- buttons on the delivery note (my sample doesn't have the PT as Im not sure how to set them up yet).

Any thoughts?
Thanks
Reply With Quote
  #12  
Old 03-01-2018, 09:13 AM
p45cal's Avatar
p45cal p45cal is offline Get actual record to stay Windows 10 Get actual record to stay Office 2010 32bit
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Ribbon: PivotTable tools, Design tab, Layout section, Report layout dropdown, choose Repeat all item labels.
Reply With Quote
  #13  
Old 03-01-2018, 11:27 AM
shabbaranks shabbaranks is offline Get actual record to stay Windows 7 64bit Get actual record to stay Office 2007
Advanced Beginner
Get actual record to stay
 
Join Date: Mar 2011
Posts: 89
shabbaranks is on a distinguished road
Default

Thank you sooo much that's worked a treat.

Is there a way to query a cell or cell(s) for data and return the result. Once the result has been returned that result stays regardless if you filter the source or not kinda like a copy and paste of data?
Reply With Quote
  #14  
Old 03-01-2018, 03:45 PM
jeffreybrown jeffreybrown is offline Get actual record to stay Windows Vista Get actual record to stay Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

I would say possibly, but when you attach a sample workbook with a before and after it much easier to suggest a solution.
Reply With Quote
Reply

Tags
filter records



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get actual record to stay Image and it's explanation need to stay together mohsen.amiri Drawing and Graphics 2 10-04-2017 04:10 AM
Digital signatures don't stay namedujour Word 1 09-26-2012 11:01 PM
avoid duplicete record and merge the record with the existed record hemant.behere Excel 0 01-10-2012 02:53 AM
Stay on One Page - 100% mnp Word 1 12-30-2011 11:57 AM
MS Project able to import actual start and or actual finish date from Excel? mhacker Project 0 04-26-2010 11:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft