#1   Report Post  
chrisc
 
Posts: n/a
Default Sumif outputs values

Is there any way to do the same as SUMIF that will output the text of a cell?
(SUMIF only outputs values)
Basically two spreadsheets each with a similar list of names in one column
and in the second column some info. the two sheets need to be merged into one
with both sets of info next to the list of names.
(Of course some of the names in each do not match as sheets were set up by
different people at different times etc etc) about 80% will match though)
many Thanks
  #2   Report Post  
 
Posts: n/a
Default Sumif outputs values

Take a look at VLOOKUP(), which will return text; another alternative
is to nest a MATCH() function inside an INDEX() function but this
option is less intuitive.

There are many posts in this forum that deal with "comparing two
spreadsheets", so you should have a wide and deep body of suggestions
to work with.

  #3   Report Post  
bpeltzer
 
Posts: n/a
Default Sumif outputs values

SUMIF is all about conditionally ADDing, and I'm not sure what that means if
you've got text rather than numbers. Is VLOOKUP what you're looking for?
That's used to extract info from a table based on a key (in your case, the
name). So if your lookup value is the name in list1, next to that you'd put
a vlookup referencing that row's name as the key value and list2 as the
table_array.



"chrisc" wrote:

Is there any way to do the same as SUMIF that will output the text of a cell?
(SUMIF only outputs values)
Basically two spreadsheets each with a similar list of names in one column
and in the second column some info. the two sheets need to be merged into one
with both sets of info next to the list of names.
(Of course some of the names in each do not match as sheets were set up by
different people at different times etc etc) about 80% will match though)
many Thanks

  #4   Report Post  
chrisc
 
Posts: n/a
Default Sumif outputs values

many thanks

" wrote:

Take a look at VLOOKUP(), which will return text; another alternative
is to nest a MATCH() function inside an INDEX() function but this
option is less intuitive.

There are many posts in this forum that deal with "comparing two
spreadsheets", so you should have a wide and deep body of suggestions
to work with.


  #5   Report Post  
chrisc
 
Posts: n/a
Default Sumif outputs values

Thanks alot

"bpeltzer" wrote:

SUMIF is all about conditionally ADDing, and I'm not sure what that means if
you've got text rather than numbers. Is VLOOKUP what you're looking for?
That's used to extract info from a table based on a key (in your case, the
name). So if your lookup value is the name in list1, next to that you'd put
a vlookup referencing that row's name as the key value and list2 as the
table_array.



"chrisc" wrote:

Is there any way to do the same as SUMIF that will output the text of a cell?
(SUMIF only outputs values)
Basically two spreadsheets each with a similar list of names in one column
and in the second column some info. the two sheets need to be merged into one
with both sets of info next to the list of names.
(Of course some of the names in each do not match as sheets were set up by
different people at different times etc etc) about 80% will match though)
many Thanks

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
SUMIF where values to be summed are formula Zakynthos Excel Worksheet Functions 10 July 27th 05 04:05 PM
SUMIF function referring to values on different Worksheet TeeBee0831 Excel Worksheet Functions 10 May 3rd 05 10:28 PM
Sumif with open Values tamato43 Excel Discussion (Misc queries) 5 March 21st 05 11:47 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 10:29 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"