Formula Issue

S

Steved

Hello from Steve

The below returns the value in D5 the value I require is in D12

{=IF($E$106="Aug",'Trips per Calendar Year'!$D$5:$D$16,0)}

my attempt below returns a "0" value.

{=IF($E$106=$A$5:$A$16,'Trips per Calendar Year'!$D$5:$D$16,0)}

Thankyou
 
P

Pete_UK

I think you mean that as August is the 8th month then you want the 8th
cell from the range D5:D16. Is that correct?

Pete
 
S

Steved

Hello Pete_UK

In Sheet1 I have the Below
E106 I have "Aug"


in the "Trips per Calendar Year" Sheet I have the below
In cell A5 I have "Jan"
In cell A6 I have "Feb" and so on to A16 which has "Dec"

In Cell D5 to D16 I have Data

Simple put In Col A5:A16 find "Aug" which is located in Cell A12
My Objective please is for the formula to goto D12 which has the Data I
require.

8th cell from the range D5:D16. Is that correct? "Yes"

In Sheet1 I have the Below

E106 I have "Aug"
 
P

Pete_UK

Okay, you could do it using VLOOKUP like this:

=VLOOKUP(E106,'Trips per calendar year'!A$5:D$16,4,0)

Another way would be to use an INDEX/MATCH combination, but it would
be longer.

Hope this helps.

Pete
 
S

Steved

I Thankyou.

Pete_UK said:
Okay, you could do it using VLOOKUP like this:

=VLOOKUP(E106,'Trips per calendar year'!A$5:D$16,4,0)

Another way would be to use an INDEX/MATCH combination, but it would
be longer.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top