Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steved
 
Posts: n/a
Default Returning a 0 Value

Hello from Steved

I am getting a 0 value.

Ok I have 12 periods I am trying to get this to work for period 2.

From Charters "City - Panm" is Cell c27
From Charters "Period 2" is Cell A22
From Charters Cell C33 is the data I require, for worksheet named Kilometres
Planned.

SUM(IF('From Charters'!$C$1:$C$900="City - Panm",IF('From
Charters'!$A$1:$A$900="Period.2",'From Charters'!$C$33:$C$33,0),0))

What Have I not done please.

Thankyou
  #2   Report Post  
PeterAtherton
 
Posts: n/a
Default



"Steved" wrote:

Hello from Steved

I am getting a 0 value.

Ok I have 12 periods I am trying to get this to work for period 2.

From Charters "City - Panm" is Cell c27
From Charters "Period 2" is Cell A22
From Charters Cell C33 is the data I require, for worksheet named Kilometres
Planned.

SUM(IF('From Charters'!$C$1:$C$900="City - Panm",IF('From
Charters'!$A$1:$A$900="Period.2",'From Charters'!$C$33:$C$33,0),0))

What Have I not done please.

Thankyou


Try
SUM(IF(AND('From Charters'!$C$1:$C$900="City - Panm",'From
Charters'!$A$1:$A$900="Period.2"),'From Charters'!$C$33:$C$33,0),0)

And enter with Ctrl+Shift+Enter

Peter

  #3   Report Post  
Steved
 
Posts: n/a
Default

Hello Peter from Steved

Firstly thanks for your time on my issue.

I am still getting a 0 Value.

HLOOKUP($A$3,'From Charters'!$A$7:$I$300,7,0)

works on the first, I tried to see if I can fiqure out what I need for it to
reconize the other 11 periods, hence the reasoning for the earlier formula.

Hoping the above is helpful

Once Again thankyou.

"PeterAtherton" wrote:



"Steved" wrote:

Hello from Steved

I am getting a 0 value.

Ok I have 12 periods I am trying to get this to work for period 2.

From Charters "City - Panm" is Cell c27
From Charters "Period 2" is Cell A22
From Charters Cell C33 is the data I require, for worksheet named Kilometres
Planned.

SUM(IF('From Charters'!$C$1:$C$900="City - Panm",IF('From
Charters'!$A$1:$A$900="Period.2",'From Charters'!$C$33:$C$33,0),0))

What Have I not done please.

Thankyou


Try
SUM(IF(AND('From Charters'!$C$1:$C$900="City - Panm",'From
Charters'!$A$1:$A$900="Period.2"),'From Charters'!$C$33:$C$33,0),0)

And enter with Ctrl+Shift+Enter

Peter

  #4   Report Post  
Steved
 
Posts: n/a
Default

Hello From Steved

I got it working.

"Steved" wrote:

Hello Peter from Steved

Firstly thanks for your time on my issue.

I am still getting a 0 Value.

HLOOKUP($A$3,'From Charters'!$A$7:$I$300,7,0)

works on the first, I tried to see if I can fiqure out what I need for it to
reconize the other 11 periods, hence the reasoning for the earlier formula.

Hoping the above is helpful

Once Again thankyou.

"PeterAtherton" wrote:



"Steved" wrote:

Hello from Steved

I am getting a 0 value.

Ok I have 12 periods I am trying to get this to work for period 2.

From Charters "City - Panm" is Cell c27
From Charters "Period 2" is Cell A22
From Charters Cell C33 is the data I require, for worksheet named Kilometres
Planned.

SUM(IF('From Charters'!$C$1:$C$900="City - Panm",IF('From
Charters'!$A$1:$A$900="Period.2",'From Charters'!$C$33:$C$33,0),0))

What Have I not done please.

Thankyou


Try
SUM(IF(AND('From Charters'!$C$1:$C$900="City - Panm",'From
Charters'!$A$1:$A$900="Period.2"),'From Charters'!$C$33:$C$33,0),0)

And enter with Ctrl+Shift+Enter

Peter

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
Vlookup returning No data. Alex H Excel Worksheet Functions 4 July 3rd 05 09:08 PM
Returning all values from a lookup - not just the first/last one Jim Burns Excel Worksheet Functions 2 June 20th 05 04:04 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
MY VLOOKUP IS RETURNING N/A AND THEREFORE MY TOTAL SUM AT THE BOT. Martin Excel Discussion (Misc queries) 2 December 13th 04 11:21 AM
returning a text cell based on a number cell Josh7777777 Excel Worksheet Functions 2 November 2nd 04 07:42 PM


All times are GMT +1. The time now is 03:32 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"