I have Sheet 1 that has the following data which is set and will never be
changed
place# place name distance
2000 xxx 10
2001 yyy 20
2002 zzz 30
I have Sheet 2 with a blank form to fill out
place# place name distance
2000
I want to be able to only have to put in the place# and have the
corresponding place name and distance to fill in automatically. I have
messed around with the nested IF functions and vlookup but now I am confused.
The problem I am getting stuck at is the logical test part of the IF
function. I can have the function (in the place name cell) check a single
cell in the place# column and return the corresponding place name but that's
a lot of forumlas.
I know this is brief but I was hoping I could get a general answer for now.
|
|
0
|
|
|
|
Reply
|
Utf
|
5/12/2010 5:02:03 PM |
|
Hi
In cell B2 of Sheet2 enter
=IF($A2="","",INDEX(Sheet1!$A$2:$C$4,
MATCH(Sheet2!$A2,Sheet1!$A$2:$A$4,0),COLUMN()))
Copy across to C2
Copy B2:C2 down page as far as required.
Change ranges to suit.
--
Regards
Roger Govier
ksell87 wrote:
> I have Sheet 1 that has the following data which is set and will never be
> changed
>
> place# place name distance
> 2000 xxx 10
> 2001 yyy 20
> 2002 zzz 30
>
> I have Sheet 2 with a blank form to fill out
>
> place# place name distance
> 2000
>
>
> I want to be able to only have to put in the place# and have the
> corresponding place name and distance to fill in automatically. I have
> messed around with the nested IF functions and vlookup but now I am confused.
> The problem I am getting stuck at is the logical test part of the IF
> function. I can have the function (in the place name cell) check a single
> cell in the place# column and return the corresponding place name but that's
> a lot of forumlas.
>
> I know this is brief but I was hoping I could get a general answer for now.
|
|
0
|
|
|
|
Reply
|
Roger
|
5/12/2010 5:17:33 PM
|
|
Thank you very much Roger!
"Roger Govier" wrote:
> Hi
>
> In cell B2 of Sheet2 enter
> =IF($A2="","",INDEX(Sheet1!$A$2:$C$4,
> MATCH(Sheet2!$A2,Sheet1!$A$2:$A$4,0),COLUMN()))
> Copy across to C2
> Copy B2:C2 down page as far as required.
>
> Change ranges to suit.
> --
> Regards
> Roger Govier
>
> ksell87 wrote:
> > I have Sheet 1 that has the following data which is set and will never be
> > changed
> >
> > place# place name distance
> > 2000 xxx 10
> > 2001 yyy 20
> > 2002 zzz 30
> >
> > I have Sheet 2 with a blank form to fill out
> >
> > place# place name distance
> > 2000
> >
> >
> > I want to be able to only have to put in the place# and have the
> > corresponding place name and distance to fill in automatically. I have
> > messed around with the nested IF functions and vlookup but now I am confused.
> > The problem I am getting stuck at is the logical test part of the IF
> > function. I can have the function (in the place name cell) check a single
> > cell in the place# column and return the corresponding place name but that's
> > a lot of forumlas.
> >
> > I know this is brief but I was hoping I could get a general answer for now.
> .
>
|
|
0
|
|
|
|
Reply
|
Utf
|
5/13/2010 3:41:01 PM
|
|
|
2 Replies
746 Views
(page loaded in 0.048 seconds)
Similiar Articles: Excel 2003 - Nested IF functions, VLOOKUP, or something else ...I have Sheet 1 that has the following data which is set and will never be changed place# place name distance 2000 xxx 10 ... Excel 2003 sum if or count if ... or is it something else ...Vlookup, COUNTIF, IF or Nested - microsoft.public.excel.worksheet ... Excel 2003 - Nested IF functions, VLOOKUP, or something else ..... around with ... ... Vlookup in multiple sheets - microsoft.public.excel.worksheet ...Vlookup, COUNTIF, IF or Nested - microsoft.public.excel.worksheet ... Excel 2003 - Nested IF functions, VLOOKUP, or something else ..... around with ... vlookup from two sources - syntax of vlookup statement - microsoft ...Excel 2003 - Nested IF functions, VLOOKUP, or something else ... vlookup from two sources - syntax of vlookup statement - microsoft ... [Excel 2003] Is it possible to use ... Two Condition Vlookup - microsoft.public.excel.miscTwo Condition Vlookup - microsoft.public.excel.misc Excel 2003 - Nested IF functions, VLOOKUP, or something else ... Nested IF(OR(AND) Statement with Two AND Conditions ... Sum If - 2 conditions - microsoft.public.excel.worksheet.functions ...Excel 2003 sum if or count if ... or is it something else ... Excel 2003 - Nested IF functions, VLOOKUP, or something else ..... around with ... ... Sum If - 2 conditions ... What do I need: multiple nested IIF? Switch()? DateDiff ...Excel 2003 - Nested IF functions, VLOOKUP, or something else ... What do I need: multiple nested IIF? Switch()? DateDiff ..... nested IIF, or a Switch(), or a DateDiff ... Nesting IF Statement in excel 2007 - microsoft.public.excel ...Nested IF(OR(AND) Statement with Two AND Conditions - microsoft ... I am using Excel 2003 and could ... countif function using vlookup for ... COUNTIF, IF or Nested in Excel ... Nested IF(OR(AND) Statement with Two AND Conditions - microsoft ...I am using Excel 2003 and could use some assistance with a complex Nested IF statement. ... in cell E2 would be something like ... Excel Nested IF Function Tutorial - Excel ... Connecting multiple IF statements into one formula - microsoft ...... excel ... Vlookup ... vlookup; nested ... one Excel formula. You can nest up to 7 IF functions to create a complex IF THEN ELSE ... in MS Excel 2003? Update cell functions ... Excel 2003 - Nested IF functions, VLOOKUP, or something else ...I have Sheet 1 that has the following data which is set and will never be changed place# place name distance 2000 xxx 10 ... Excel - If Function Nested With Vlookup - - Free Excel HelpIf Function Nested With Vlookup - - Free Excel Help ... the value is something else, i wanted to do a vlookup ... of course in 2003 I get the 'too many nested functions ... Excel Nested IF Function Tutorial - Free Microsoft Excel ...Related Tutorial: - Excel Nested IF Function Step by Step ... if the condition is false, the function will do something else. ... How to Use Excel; Excel VLOOKUP; Subtract Excel Excel’s VLOOKUP Function: How to Use It and How to Nest ItThe VLOOKUP function is a handy one to know when you want Excel to lookup a value in ... In Excel 2002/2003, it's on your Formula ... Excel performs the deepest nested function ... MS Excel: Nested IF Functions - TechOnTheNet.com... possible to nest multiple IF functions within one Excel ... You can nest up to 7 IF functions to create a complex IF THEN ELSE ... Excel 2007, Excel 2003, Excel XP, Excel ... 7/23/2012 1:02:45 PM
|