SUMIF returning numbers rather than text

PSI94

New Member
Joined
Mar 11, 2022
Messages
27
Office Version
  1. 2021
Platform
  1. Windows
Good evening all,

As the post title suggests, my SUMIF formulas are returning numbers instead of text. I've read various posts on this and understand that a SUMIF won't return text, however whenever I try to re-write the formula as a V-LOOKUP I am failing miserably :( My current SUMIF formula is -

=SUMIFS('Jan 2022 Test Cases'!K:K,'Jan 2022 Test Cases'!$A:$A,'Jan 2022 Compare'!$D3)

Has anyone any idea on how I could ammend this to return the relevant text? This is the only column that I am wanting the text to display from, with the SUMIF correctly returning the relevant numbers in the other columns. Will the amendment return the text that correlates with my current returned figures?

Thank you very much in advance :)
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi,

Try the VLOOKUP like this, Untested:

Excel Formula:
=VLOOKUP('Jan 2022 Compare'!$D3,'Jan 2022 Test Cases'!$A:$K,11,0)
 
Upvote 0
Welcome to the Forum!

This will return the first value: =INDEX('Jan 2022 Test Cases'!K:K,MATCH('Jan 2022 Compare'!$D3,'Jan 2022 Test Cases'!$A:$A,))

Are you expecting more than one value, which is what your use of SUMIF implies?
 
Upvote 0
Hi,

Try the VLOOKUP like this, Untested:

Excel Formula:
=VLOOKUP('Jan 2022 Compare'!$D3,'Jan 2022 Test Cases'!$A:$K,11,0)

That didn't work but appreciate your help - thanks so much!
 
Upvote 0
Welcome to the Forum!

This will return the first value: =INDEX('Jan 2022 Test Cases'!K:K,MATCH('Jan 2022 Compare'!$D3,'Jan 2022 Test Cases'!$A:$A,))

Are you expecting more than one value, which is what your use of SUMIF implies?
Thank you! That worked a treat!

Yeah, so I've a data dump on one tab that I've created a unique key for each line - approx 100. Then on another tab I've a list of keys - approx 10 which I'm wanting the formula to find the corresponding key from the other tab and show the relevant information. It's primarily numbers so the SUMIF was fine for that, but it was one column which has text that was causing the headache.

Sorry if that doesn't make sense!
 
Upvote 0

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top