Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Using INDEX() to Locate Variable Data


Here is my formula for cell I26: *=IF(G26=" Armor Slot
2","",INDEX(G1:P97,MATCH(G25,N3:O97,0),16))*
Here is an image of the sheet I'm working on:
http://img301.imageshack.us/img301/1...lpsheetme1.jpg

When I activate the dropdown menu for the cell that says Armor Slot 2
and choose another "armor", I get a #N/A error in cell I26. Since using
a string of IF statements to check which armor I'm searching for would
result in the formula being too long, can anyone please help me find
out what I'm doing wrong in this formula that's resulting in an error?
I'm trying to choose an armor from a list of cells in column N and then
display the value that corresponds to it, from column P, into cell I26.

(The list of armors extends down to row 97.)

Help would be MUCH appreciated!
Shadowboy


--
Shadowboy
------------------------------------------------------------------------
Shadowboy's Profile: http://www.excelforum.com/member.php...o&userid=37804
View this thread: http://www.excelforum.com/showthread...hreadid=573668

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Using INDEX() to Locate Variable Data

Use VLOOKUP in I26 to retrieve value from column P

=VLOOKUP(G25,N3:O97,2,FALSE)

Looks up selection from G25 and finds corresponding entry in N:O

To allow for errors:

=If(ISERROR(VLOOKUP(G25,N3:O97,2,FALSE)),"",VLOOKU P(G25,N3:O97,2,FALSE))

in J26 to retrieve value from column O

=If(ISERROR(VLOOKUP(G25,N3:O97,3,FALSE)),"",VLOOKU P(G25,N3:O97,3,FALSE))

HTH

"Shadowboy" wrote:


Here is my formula for cell I26: *=IF(G26=" Armor Slot
2","",INDEX(G1:P97,MATCH(G25,N3:O97,0),16))*
Here is an image of the sheet I'm working on:
http://img301.imageshack.us/img301/1...lpsheetme1.jpg

When I activate the dropdown menu for the cell that says Armor Slot 2
and choose another "armor", I get a #N/A error in cell I26. Since using
a string of IF statements to check which armor I'm searching for would
result in the formula being too long, can anyone please help me find
out what I'm doing wrong in this formula that's resulting in an error?
I'm trying to choose an armor from a list of cells in column N and then
display the value that corresponds to it, from column P, into cell I26.

(The list of armors extends down to row 97.)

Help would be MUCH appreciated!
Shadowboy


--
Shadowboy
------------------------------------------------------------------------
Shadowboy's Profile: http://www.excelforum.com/member.php...o&userid=37804
View this thread: http://www.excelforum.com/showthread...hreadid=573668


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Using INDEX() to Locate Variable Data

Typo alert.

Without reading the OP's message...

If the formula is retrieving from column P, shouldn't it be included in the
lookup range--and if that look up range starts in column O, then it would be the
3rd column:

=VLOOKUP(G25,N3:O97,2,FALSE)
becomes
=VLOOKUP(G25,N3:p97,3,FALSE)

(in all the formulas)



Toppers wrote:

Use VLOOKUP in I26 to retrieve value from column P

=VLOOKUP(G25,N3:O97,2,FALSE)

Looks up selection from G25 and finds corresponding entry in N:O

To allow for errors:

=If(ISERROR(VLOOKUP(G25,N3:O97,2,FALSE)),"",VLOOKU P(G25,N3:O97,2,FALSE))

in J26 to retrieve value from column O

=If(ISERROR(VLOOKUP(G25,N3:O97,3,FALSE)),"",VLOOKU P(G25,N3:O97,3,FALSE))

HTH

"Shadowboy" wrote:


Here is my formula for cell I26: *=IF(G26=" Armor Slot
2","",INDEX(G1:P97,MATCH(G25,N3:O97,0),16))*
Here is an image of the sheet I'm working on:
http://img301.imageshack.us/img301/1...lpsheetme1.jpg

When I activate the dropdown menu for the cell that says Armor Slot 2
and choose another "armor", I get a #N/A error in cell I26. Since using
a string of IF statements to check which armor I'm searching for would
result in the formula being too long, can anyone please help me find
out what I'm doing wrong in this formula that's resulting in an error?
I'm trying to choose an armor from a list of cells in column N and then
display the value that corresponds to it, from column P, into cell I26.

(The list of armors extends down to row 97.)

Help would be MUCH appreciated!
Shadowboy


--
Shadowboy
------------------------------------------------------------------------
Shadowboy's Profile: http://www.excelforum.com/member.php...o&userid=37804
View this thread: http://www.excelforum.com/showthread...hreadid=573668



--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Using INDEX() to Locate Variable Data

..... bad day at the office (home actually)! Thanks ...again!

"Dave Peterson" wrote:

Typo alert.

Without reading the OP's message...

If the formula is retrieving from column P, shouldn't it be included in the
lookup range--and if that look up range starts in column O, then it would be the
3rd column:

=VLOOKUP(G25,N3:O97,2,FALSE)
becomes
=VLOOKUP(G25,N3:p97,3,FALSE)

(in all the formulas)



Toppers wrote:

Use VLOOKUP in I26 to retrieve value from column P

=VLOOKUP(G25,N3:O97,2,FALSE)

Looks up selection from G25 and finds corresponding entry in N:O

To allow for errors:

=If(ISERROR(VLOOKUP(G25,N3:O97,2,FALSE)),"",VLOOKU P(G25,N3:O97,2,FALSE))

in J26 to retrieve value from column O

=If(ISERROR(VLOOKUP(G25,N3:O97,3,FALSE)),"",VLOOKU P(G25,N3:O97,3,FALSE))

HTH

"Shadowboy" wrote:


Here is my formula for cell I26: *=IF(G26=" Armor Slot
2","",INDEX(G1:P97,MATCH(G25,N3:O97,0),16))*
Here is an image of the sheet I'm working on:
http://img301.imageshack.us/img301/1...lpsheetme1.jpg

When I activate the dropdown menu for the cell that says Armor Slot 2
and choose another "armor", I get a #N/A error in cell I26. Since using
a string of IF statements to check which armor I'm searching for would
result in the formula being too long, can anyone please help me find
out what I'm doing wrong in this formula that's resulting in an error?
I'm trying to choose an armor from a list of cells in column N and then
display the value that corresponds to it, from column P, into cell I26.

(The list of armors extends down to row 97.)

Help would be MUCH appreciated!
Shadowboy


--
Shadowboy
------------------------------------------------------------------------
Shadowboy's Profile: http://www.excelforum.com/member.php...o&userid=37804
View this thread: http://www.excelforum.com/showthread...hreadid=573668



--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Using INDEX() to Locate Variable Data


Thank you both for your fanstastic responses. My problem is solved and
I'm continuing along my way.


--
Shadowboy
------------------------------------------------------------------------
Shadowboy's Profile: http://www.excelforum.com/member.php...o&userid=37804
View this thread: http://www.excelforum.com/showthread...hreadid=573668

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
Dynamic scenarios - more than 2 variable using data tables in Exc Varghese Excel Discussion (Misc queries) 0 August 7th 06 03:16 PM
Vlookup to Return a Range of Data James Excel Discussion (Misc queries) 0 July 13th 06 09:44 PM
Variable data range help low98 Charts and Charting in Excel 3 January 11th 06 06:46 AM
Can the column index in a cell address be made variable? cyberdude Excel Discussion (Misc queries) 1 November 20th 05 02:47 AM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 08:59 PM.

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

About Us

"It's about Microsoft Excel"