ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula to lookup cell value (https://www.excelbanter.com/excel-discussion-misc-queries/105380-formula-lookup-cell-value.html)

sweetsue516

Formula to lookup cell value
 

On worksheet 1 in A2 I have a cell value of American Advantage. In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the fund is not
in the list and I need a results of 0.00%

Barb Reinhardt

Formula to lookup cell value
 
I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage. In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the fund is not
in the list and I need a results of 0.00%


sweetsue516

Formula to lookup cell value
 
Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am doing
something wrong or if I need a different formula. I don't understand this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage. In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the fund is not
in the list and I need a results of 0.00%


Barb Reinhardt

Formula to lookup cell value
 
Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am doing
something wrong or if I need a different formula. I don't understand this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage. In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the fund is not
in the list and I need a results of 0.00%


sweetsue516

Formula to lookup cell value
 
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am doing
something wrong or if I need a different formula. I don't understand this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage. In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the fund is not
in the list and I need a results of 0.00%


RagDyeR

Formula to lookup cell value
 
Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%



sweetsue516

Formula to lookup cell value
 
RagDyer,

I thought that was for lookup formula. Let me give the sort a try.

"RagDyer" wrote:

Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%




sweetsue516

Formula to lookup cell value
 
I can get lookup and vlookup formulas to work great, but I run into problems
when the value I want looked up isn't listed.

When I value is not listed, I need it to display 0.00



"sweetsue516" wrote:

RagDyer,

I thought that was for lookup formula. Let me give the sort a try.

"RagDyer" wrote:

Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%




Barb Reinhardt

Formula to lookup cell value
 
That's what the first equation I gave you will do.

"sweetsue516" wrote:

I can get lookup and vlookup formulas to work great, but I run into problems
when the value I want looked up isn't listed.

When I value is not listed, I need it to display 0.00



"sweetsue516" wrote:

RagDyer,

I thought that was for lookup formula. Let me give the sort a try.

"RagDyer" wrote:

Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%



sweetsue516

Formula to lookup cell value
 
Barb,

I posted a copy of that equation. Did you see it.

For some reason it is not working. Does my list need to be sorted ascending?

"Barb Reinhardt" wrote:

That's what the first equation I gave you will do.

"sweetsue516" wrote:

I can get lookup and vlookup formulas to work great, but I run into problems
when the value I want looked up isn't listed.

When I value is not listed, I need it to display 0.00



"sweetsue516" wrote:

RagDyer,

I thought that was for lookup formula. Let me give the sort a try.

"RagDyer" wrote:

Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%



Barb Reinhardt

Formula to lookup cell value
 
Try sorting column A in ascending order.



"sweetsue516" wrote:

Barb,

I posted a copy of that equation. Did you see it.

For some reason it is not working. Does my list need to be sorted ascending?

"Barb Reinhardt" wrote:

That's what the first equation I gave you will do.

"sweetsue516" wrote:

I can get lookup and vlookup formulas to work great, but I run into problems
when the value I want looked up isn't listed.

When I value is not listed, I need it to display 0.00



"sweetsue516" wrote:

RagDyer,

I thought that was for lookup formula. Let me give the sort a try.

"RagDyer" wrote:

Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%



sweetsue516

Formula to lookup cell value
 
Barb,

I went back to double check the equation you gave me. I found the
problem...I missed a (

It works perfectly!!!

"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage. In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the fund is not
in the list and I need a results of 0.00%


sweetsue516

Formula to lookup cell value
 
I forgot to say "Thank you"

Thank you!

"Barb Reinhardt" wrote:

Try sorting column A in ascending order.



"sweetsue516" wrote:

Barb,

I posted a copy of that equation. Did you see it.

For some reason it is not working. Does my list need to be sorted ascending?

"Barb Reinhardt" wrote:

That's what the first equation I gave you will do.

"sweetsue516" wrote:

I can get lookup and vlookup formulas to work great, but I run into problems
when the value I want looked up isn't listed.

When I value is not listed, I need it to display 0.00



"sweetsue516" wrote:

RagDyer,

I thought that was for lookup formula. Let me give the sort a try.

"RagDyer" wrote:

Is A9 to A25 sorted, ascending?

Since you're *not* using the 4th argument of Vlookup, the lookup table
*must* be sorted ascending for the return to be accurate.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"sweetsue516" wrote in message
...
=if(isna(VLOOKUP(B7,'MH AC'!A9:C25,3),0,VLOOKUP(B7,'MH AC'!A9:C25,3)

Is this correct? The cell and worksheet references should be the same in
both vlookups?

"Barb Reinhardt" wrote:

Where i have VLOOKUP(), put your entire VLOOKUP formula.

"sweetsue516" wrote:

Barb,

It doesn't like the 0 in the middle of the , ,. I don't know if I am
doing
something wrong or if I need a different formula. I don't understand
this
one. Can you explain

"Barb Reinhardt" wrote:

I'm guessing you get #N/A if there is no match. Try using this

=if(isna(VLOOKUP()),0,vlookup())


"sweetsue516" wrote:


On worksheet 1 in A2 I have a cell value of American Advantage.
In cell
A1 I need the value on worksheet to of the percent (0.43%).

I need a formula to do something like this. If worksheet 2 A1:A6 =
worksheet 1 A2, then let A1= worksheet b2. Then if the fund is not
in list I
need worksheet A1 to equal 0.00%

This would be what worksheet 2 would look like.

AIM BASIC BALANCED $10,630.02 0.29%
AMERICAN ADVANTAGE SM CAP VAL $15,738.30 0.43%
AMERICAN BALANCED FUND R3 $12,906.04 0.35%
COLUMBIA ACORN $64,048.18 1.75%
EUROPACIFIC GROWTH $213,617.45 5.84%
Franklin Small-Mid Cap Growth $194,030.84 5.30%


Any suggestions. I used vlookup which works except for when the
fund is not
in the list and I need a results of 0.00%




All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com