Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default auto population based on single cell entry

I have a data range b37:dt47 which consists of information relevant to
11 different items. For now let's call the items a:k. I would like to be
able to populate an item's row of data/formulas based on inputting the
corresponding letter of the item in a cell. If I want the information for
item "b", currently I need to copy the entire row (38) and paste it in a
different location (let's say row 250). I would like to simply type "b" in a
cell in row 250 and for the data/formulas relevant to "b" to populate across
the new location. (cells b250:dt250)
I believe I could accomplish this with "If" statements in each cell
(after a few weeks of entering formulas) but I'm sure there must be a better
way.
Additionally, I can only hope that part of this formula could be used
to populate similar data from a drop-down selection in a seperate worksheet
in the same workbook.
Any assistance would be greatly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default auto population based on single cell entry

I think VLOOKUP is the function you're looking for. Something like this
formula placed in cell C250, where you enter the name you're looking for into
cell B250:

=VLOOKUP($B$250,$B$37:$DT$47,COLUMN(C250)-1,FALSE)

This can then be copied across cells D250 through DT250. You'll probably
need to modify this slightly to fit your needs. Look up VLOOKUP in Excel
Help to learn more.

HTH,
Elkar


"olrustyxlsuser" wrote:

I have a data range b37:dt47 which consists of information relevant to
11 different items. For now let's call the items a:k. I would like to be
able to populate an item's row of data/formulas based on inputting the
corresponding letter of the item in a cell. If I want the information for
item "b", currently I need to copy the entire row (38) and paste it in a
different location (let's say row 250). I would like to simply type "b" in a
cell in row 250 and for the data/formulas relevant to "b" to populate across
the new location. (cells b250:dt250)
I believe I could accomplish this with "If" statements in each cell
(after a few weeks of entering formulas) but I'm sure there must be a better
way.
Additionally, I can only hope that part of this formula could be used
to populate similar data from a drop-down selection in a seperate worksheet
in the same workbook.
Any assistance would be greatly appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default auto population based on single cell entry



Elkar,
Thank you for the quick response. The result of your formula without any
tweaking being done by me results in a lovely row of #N/A's. If I try
tracing the error, I'm told that it is because of a circular reference. I do
not see where there could be a circular reference. Any ideas how I can
adjust the formula? I do use lookups and feel pretty comfortable with them.
Do you need a better explanation of what I'm trying to do?

Thanks in advance!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default auto population based on single cell entry

Just to clarify, you entered the formula starting in C250 not B250, correct?
Looking back at my post, that may have been a point of confusion.

Next step, the value that you manually type into cell B250 matches one of
the values found in B37:B47?

Do you have formulas in your range B37:DT47? If so, do any of them
reference Row 250?

Beyond those steps, I'm not sure where else to look, other than just doulbe
checking for typos.

HTH,
Elkar


"olrustyxlsuser" wrote:



Elkar,
Thank you for the quick response. The result of your formula without any
tweaking being done by me results in a lovely row of #N/A's. If I try
tracing the error, I'm told that it is because of a circular reference. I do
not see where there could be a circular reference. Any ideas how I can
adjust the formula? I do use lookups and feel pretty comfortable with them.
Do you need a better explanation of what I'm trying to do?

Thanks in advance!


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default auto population based on single cell entry

Elkar,

Thank you. I did have a circular reference that I've now taken care of.
Your directions were crystal clear and did not cause me any confussion.
Two questions. 1 - will I be able to use this same formula (with the
correct reference cells/rows/columns of course) with a drop down selection
also?
2 - What does the "-1" do to the lookup in your formula?


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default auto population based on single cell entry

1. Yes, you should have no trouble using this with a dropdown list.

2. The COLUMN(C250)-1 portion of the formula specifies which column within
the lookup range (B37:D47) to return a value from. COLUMN(C250) returns 3,
since C is the 3rd column. The -1 reduces that number to 2 (which is the
column we want from the lookup range (B is first, C is second etc...).
Normally, I'd just say 2 if I wanted the second column returned, but since
you had a rather large number of cells to copy this formula to, it makes it
easier to create a reference that will increment when copied. Hopefully that
makes sense.



"olrustyxlsuser" wrote:

Elkar,

Thank you. I did have a circular reference that I've now taken care of.
Your directions were crystal clear and did not cause me any confussion.
Two questions. 1 - will I be able to use this same formula (with the
correct reference cells/rows/columns of course) with a drop down selection
also?
2 - What does the "-1" do to the lookup in your formula?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cell auto population - why 0 when source cell is empty? David Smithz Excel Discussion (Misc queries) 4 June 18th 06 05:35 PM
Cell Population based on a Table JimS Excel Discussion (Misc queries) 2 April 4th 06 04:34 PM
Formula and Data Entry in a Single Cell Josh VM Excel Discussion (Misc queries) 1 October 21st 05 09:31 PM
Return a block of text based on a single "short name" entry cindee Excel Worksheet Functions 5 October 5th 05 08:43 PM
Want a number of cells to be auto completed based on entry in one. matt ashley Excel Worksheet Functions 1 April 14th 05 10:07 PM


All times are GMT +1. The time now is 05:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"