Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Excel Conditional Statement Help

I would like to do the following: Fill in a cell with an equal statement,
for ex, in cell B6 type "=n135". What I would then like to have happen is
cell d6 automatically fill with what is in p135 and for cell e6 to
automatically fill in with q135. I need the conditional because I want to be
able to change cell B6's value with different cell values, ie n245, n600, n4,
and have cells d6 and e6 automatically follow with the same row but different
columns.
Any help would be greatly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Excel Conditional Statement Help

Alini,

Use a VLOOKUP formula based on the value in cell B6, linked to the table.

For example, to get the value from column P, use this in D6:

=VLOOKUP(B6,$N$1:$Q$500,3,False)

And from column Q, use this in E6:
=VLOOKUP(B6,$N$1:$Q$500,4,False)

This assumes that the values in column N are unique.

HTH,
Bernie
MS Excel MVP


"AliniMag" wrote in message
...
I would like to do the following: Fill in a cell with an equal statement,
for ex, in cell B6 type "=n135". What I would then like to have happen is
cell d6 automatically fill with what is in p135 and for cell e6 to
automatically fill in with q135. I need the conditional because I want to be
able to change cell B6's value with different cell values, ie n245, n600, n4,
and have cells d6 and e6 automatically follow with the same row but different
columns.
Any help would be greatly appreciated.



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Puzzled by statement about R1C1 style in "Escape from Excel Hell" [email protected] Excel Discussion (Misc queries) 3 April 12th 06 01:04 AM
Why do conditional formats appear by themselves in Excel 2003? Rambling Syd Rumpo Excel Discussion (Misc queries) 0 March 23rd 06 12:10 PM
Conditional formatting.... Excel 2002 Gunjani Excel Worksheet Functions 1 February 13th 06 10:58 AM
Can I import my business banking statement online into excel? one crying in the wilderness New Users to Excel 1 October 1st 05 06:00 PM


All times are GMT +1. The time now is 10:59 AM.

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"