#1   Report Post  
jasperistops
 
Posts: n/a
Default SUMIF

Hi,
I have 2 columns of 26 entries, column J is tool numbers and column K is
number of uses.What i require is when i enter a tool number in cell 1a it
looks in the J column for the corresponding tool number and fills 1b with the
number of uses available?Ive managed with a single entry SUMIF(a1,j1,j2) but
how do i use the full columns as a reference
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

=SUMIF(J1:J26,A1,K1:K26)

It sounds to me like you might want a lookup. If the above
formula isn't what you're after try this one:

=IF(A1="","",VLOOKUP(A1,J1:K26,2,0))

Biff

-----Original Message-----
Hi,
I have 2 columns of 26 entries, column J is tool numbers

and column K is
number of uses.What i require is when i enter a tool

number in cell 1a it
looks in the J column for the corresponding tool number

and fills 1b with the
number of uses available?Ive managed with a single entry

SUMIF(a1,j1,j2) but
how do i use the full columns as a reference
.

  #3   Report Post  
jasperistops
 
Posts: n/a
Default



Thanx,managed to get what i wanted using this

=VLOOKUP(B4,TABLE!$A$1:$B$26,2, FALSE)

"Biff" wrote:

Hi!

=SUMIF(J1:J26,A1,K1:K26)

It sounds to me like you might want a lookup. If the above
formula isn't what you're after try this one:

=IF(A1="","",VLOOKUP(A1,J1:K26,2,0))

Biff

-----Original Message-----
Hi,
I have 2 columns of 26 entries, column J is tool numbers

and column K is
number of uses.What i require is when i enter a tool

number in cell 1a it
looks in the J column for the corresponding tool number

and fills 1b with the
number of uses available?Ive managed with a single entry

SUMIF(a1,j1,j2) but
how do i use the full columns as a reference
.


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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Define Name and SUMIF MLP Excel Worksheet Functions 0 January 18th 05 07:11 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM
SUM(IF( Array to avoid #NUM! values Elijah Excel Worksheet Functions 7 November 21st 04 02:17 PM


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