Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 151
Default How-To Autofill cell if cell beside it is a certain value

I am trying to find a formula that can autofill H3 when G3 is a certain value
picked from a drop-down list. For example: I picked 52109706AB from a
drop-down list in G3. I need H3 to auto-populate with 1452-AA. However, G3
might not always be 52109706AB. It might be one of the 207 numbers within
the drop-down list, so then H3 would auto-populate with the corresponding
number, using the data within the drop-down list. I hope this makes sense,
and I hope that someone out there can help me.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 304
Default How-To Autofill cell if cell beside it is a certain value

I would use the VLookup function. Check this website out. And if you still
need help, just let me know.

http://contextures.com/xlFunctions02.html

"Amanda" wrote:

I am trying to find a formula that can autofill H3 when G3 is a certain value
picked from a drop-down list. For example: I picked 52109706AB from a
drop-down list in G3. I need H3 to auto-populate with 1452-AA. However, G3
might not always be 52109706AB. It might be one of the 207 numbers within
the drop-down list, so then H3 would auto-populate with the corresponding
number, using the data within the drop-down list. I hope this makes sense,
and I hope that someone out there can help me.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How-To Autofill cell if cell beside it is a certain value

You would normally use a VLOOKUP formula in H3 to do this, but you
will need to give a few more details about your data before I could
suggest a formula. For example, where is the drop-down list, and which
cells are the 207 numbers located in?

Pete

On Dec 11, 6:23*pm, Amanda wrote:
I am trying to find a formula that can autofill H3 when G3 is a certain value
picked from a drop-down list. *For example: I picked 52109706AB from a
drop-down list in G3. *I need H3 to auto-populate with 1452-AA. *However, G3
might not always be 52109706AB. *It might be one of the 207 numbers within
the drop-down list, so then H3 would auto-populate with the corresponding
number, using the data within the drop-down list. *I hope this makes sense,
and I hope that someone out there can help me.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 151
Default How-To Autofill cell if cell beside it is a certain value

The drop-down list is in G3. And the cells that the 207 #s are in are
C3:C210.



"Pete_UK" wrote:

You would normally use a VLOOKUP formula in H3 to do this, but you
will need to give a few more details about your data before I could
suggest a formula. For example, where is the drop-down list, and which
cells are the 207 numbers located in?

Pete

On Dec 11, 6:23 pm, Amanda wrote:
I am trying to find a formula that can autofill H3 when G3 is a certain value
picked from a drop-down list. For example: I picked 52109706AB from a
drop-down list in G3. I need H3 to auto-populate with 1452-AA. However, G3
might not always be 52109706AB. It might be one of the 207 numbers within
the drop-down list, so then H3 would auto-populate with the corresponding
number, using the data within the drop-down list. I hope this makes sense,
and I hope that someone out there can help me.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How-To Autofill cell if cell beside it is a certain value

This is still a bit confusing, Amanda.

If your drop down in G3 is a data validation drop-down, where you have
confined the answers to be only those contained in a list, then the list
would be somewhere else - assume this is B3:B210, so that next to it in
C3:C210 you have the numbers that are associated with those codes.

If this is the case then in H3 you would have this formula:

=VLOOKUP(G3,B$3:C$210,2,0)

Hope this helps.

Pete

"Amanda" wrote in message
...
The drop-down list is in G3. And the cells that the 207 #s are in are
C3:C210.



"Pete_UK" wrote:

You would normally use a VLOOKUP formula in H3 to do this, but you
will need to give a few more details about your data before I could
suggest a formula. For example, where is the drop-down list, and which
cells are the 207 numbers located in?

Pete

On Dec 11, 6:23 pm, Amanda wrote:
I am trying to find a formula that can autofill H3 when G3 is a certain
value
picked from a drop-down list. For example: I picked 52109706AB from a
drop-down list in G3. I need H3 to auto-populate with 1452-AA.
However, G3
might not always be 52109706AB. It might be one of the 207 numbers
within
the drop-down list, so then H3 would auto-populate with the
corresponding
number, using the data within the drop-down list. I hope this makes
sense,
and I hope that someone out there can help me.







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 151
Default How-To Autofill cell if cell beside it is a certain value

This worked perfectly. Thank you so much!

"Pete_UK" wrote:

This is still a bit confusing, Amanda.

If your drop down in G3 is a data validation drop-down, where you have
confined the answers to be only those contained in a list, then the list
would be somewhere else - assume this is B3:B210, so that next to it in
C3:C210 you have the numbers that are associated with those codes.

If this is the case then in H3 you would have this formula:

=VLOOKUP(G3,B$3:C$210,2,0)

Hope this helps.

Pete

"Amanda" wrote in message
...
The drop-down list is in G3. And the cells that the 207 #s are in are
C3:C210.



"Pete_UK" wrote:

You would normally use a VLOOKUP formula in H3 to do this, but you
will need to give a few more details about your data before I could
suggest a formula. For example, where is the drop-down list, and which
cells are the 207 numbers located in?

Pete

On Dec 11, 6:23 pm, Amanda wrote:
I am trying to find a formula that can autofill H3 when G3 is a certain
value
picked from a drop-down list. For example: I picked 52109706AB from a
drop-down list in G3. I need H3 to auto-populate with 1452-AA.
However, G3
might not always be 52109706AB. It might be one of the 207 numbers
within
the drop-down list, so then H3 would auto-populate with the
corresponding
number, using the data within the drop-down list. I hope this makes
sense,
and I hope that someone out there can help me.





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How-To Autofill cell if cell beside it is a certain value

You're welcome, Amanda - thanks for feeding back.

Pete

On Dec 12, 2:38*pm, Amanda wrote:
This worked perfectly. *Thank you so much!


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
how do i autofill a cell a certain colour based on it's value? dave Excel Worksheet Functions 2 January 27th 08 06:22 PM
More- AutoFill with Non-Seqeuntial Cell References ? [email protected] Excel Worksheet Functions 4 June 23rd 05 02:42 AM
AutoFill with Non-sequential Cell References ? [email protected] Excel Worksheet Functions 3 June 20th 05 03:39 AM
autofill according to cell index honour Excel Worksheet Functions 1 December 2nd 04 01:49 PM
autofill according to cell index. honour Excel Discussion (Misc queries) 1 December 2nd 04 01:49 PM


All times are GMT +1. The time now is 01:11 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"