Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 09-26-2018, 08:01 AM
xor xor is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default


See the attached.

You might also want to study Excel implicit intersection
Attached Files
File Type: xlsx Mary_4.xlsx (13.8 KB, 8 views)
Reply With Quote
  #17  
Old 09-26-2018, 08:25 AM
MimiCush MimiCush is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2013
Novice
accessing individual row data in named ranges
 
Join Date: Jan 2018
Posts: 29
MimiCush is on a distinguished road
Default

I'm sorry, but I do not understand.

In other tables, I have used an explicit intersection. In that case, I used "name from selection" for the entire table and named ranges were created for each row and each column. Then I used an "intersection" reference for whatever cell I wanted to access.

Please explain how(if) an implicit intersection.
Reply With Quote
  #18  
Old 09-26-2018, 08:29 AM
xor xor is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I also do not understand (what you write in your second sentence).

I regret, but I think it is time for me to stop.
Reply With Quote
  #19  
Old 09-26-2018, 10:01 AM
MimiCush MimiCush is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2013
Novice
accessing individual row data in named ranges
 
Join Date: Jan 2018
Posts: 29
MimiCush is on a distinguished road
Default

xor, I must be going bonkers, but when I read your 11:01 post, all I saw was "implicit intersection" with no file attached.

Anyway, I appreciate your efforts, but you seem to be using a table as well.

Now, at least I know what I was doing is called "implicit intersection" and I will be able to research it further.

Thank you.
Reply With Quote
  #20  
Old 09-26-2018, 10:16 AM
xor xor is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I am not using a table. See how col.1 and col.2 in file Mary_4 are defined.
Try to convert A1:F13 to a range and see that it doesn't change anything in columns I and J.
Reply With Quote
  #21  
Old 09-26-2018, 11:15 AM
MimiCush MimiCush is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2013
Novice
accessing individual row data in named ranges
 
Join Date: Jan 2018
Posts: 29
MimiCush is on a distinguished road
Default

UPDATE: with xor's suggestion, I researched implicit intersection. The answer was not to be found there. However, I was able to use explicit intersection because my non-table was already set with named ranges for columns and rows.

This would have been some work had I not already it set up this way.

So, thanks again, xor.
Reply With Quote
  #22  
Old 09-26-2018, 10:38 PM
ArviLaanemets ArviLaanemets is offline accessing individual row data in named ranges Windows 8 accessing individual row data in named ranges Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

In my previous posting, at end of it I explained, how to use dynamic Named Ranges to do what you want!

In attachment I redesigned your named ranges, and your formulas started work in way you did want. Additionally I added another range which includes data from both columns, and a couple of columns using this range as example.
Attached Files
File Type: xlsx Mary test 9-24-18.xlsx (12.2 KB, 9 views)
Reply With Quote
  #23  
Old 09-27-2018, 10:16 AM
MimiCush MimiCush is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2013
Novice
accessing individual row data in named ranges
 
Join Date: Jan 2018
Posts: 29
MimiCush is on a distinguished road
Default

Arvilaanemets,

I just tried the dynamic range as you showed previously and I worked great.

and xor,

You did dynamic ranges as well. I am sorry I misread your instructions.

Just out of curiosity...Most descriptions of how to do dynamic ranges use offset or index. Your way is so much easier. Maybe I just missed this in my searches.


Thank you both.
Reply With Quote
  #24  
Old 09-27-2018, 11:53 AM
MimiCush MimiCush is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2013
Novice
accessing individual row data in named ranges
 
Join Date: Jan 2018
Posts: 29
MimiCush is on a distinguished road
Default

Oh boy,

First he giveth then he taketh away.

The dynamic named ranges worked well on their own (first) sheet. However, from a different (second) sheet I had been using an explicit intersection to pull from the first sheet. Now, these values on the second sheet are all "null."
Reply With Quote
  #25  
Old 09-27-2018, 12:25 PM
ArviLaanemets ArviLaanemets is offline accessing individual row data in named ranges Windows 8 accessing individual row data in named ranges Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Quote:
Originally Posted by MimiCush View Post
Just out of curiosity...Most descriptions of how to do dynamic ranges use offset or index. Your way is so much easier. Maybe I just missed this in my searches.
This is very specific technique and applicable at certain limitations only (essentially it is what I used before Tables were introduced to get same behavior as [@FieldName]). But it can get quite complex on it's own. E.g. you can combine several such dynamic ranges to create new dynamic ranges, or you can create a dynamic range or value, which reads data from row in one sheet additionally depending on data in some another sheet.

Quote:
The dynamic named ranges worked well on their own (first) sheet. However, from a different (second) sheet I had been using an explicit intersection to pull from the first sheet. Now, these values on the second sheet are all "null."
Did you use same named ranges there? Maybe you need different ones for this "explicit intersection" stuff? I can't look at moment what it does - I don't have Excel available currently.
Reply With Quote
  #26  
Old 09-27-2018, 01:01 PM
MimiCush MimiCush is offline accessing individual row data in named ranges Windows 10 accessing individual row data in named ranges Office 2013
Novice
accessing individual row data in named ranges
 
Join Date: Jan 2018
Posts: 29
MimiCush is on a distinguished road
Default

I created named-ranges for the same columns, but this time non-dynamically and they worked as before.

I may be creating more work by needing two names for each column than I am saving. But I am very glad to know that this is available.

Thank you for your help.
Reply With Quote
Reply

Tags
named ranges



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing individual row data in named ranges Named Ranges Help SavGDK Excel 5 05-01-2017 09:41 AM
accessing individual row data in named ranges Data Validation List based on Two Named Ranges Rich18144 Excel 4 01-14-2016 04:37 AM
How to use named ranges in excel vba? bosve73 Excel Programming 4 01-25-2012 09:26 AM
Dynamic Named Ranges using text hannu Excel 0 06-22-2010 04:42 PM
Can't import home adresses in outlook 2010 from excel named ranges eekie Outlook 0 05-14-2010 02:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:40 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