Sumifs and Index Match returning 0% for blanks

AndrewD04

New Member
Joined
Aug 24, 2017
Messages
40
Office Version
  1. 365
HI,

Thank you for taking the time to look at my question.

I am trying to write a formula that will return a value based on some criteria however some the the data has blank cells with no dat in so i want it to ignore these and leave them blank in the formula returning cell.

What i am trying to do is if names match on both sheets and Dates match return Column F or J (Formula depending column F and J are the same)

ive tried to be descriptive as possible as i cant load a mini excel up it just wont allow me

I have tried it 2 ways and both formulas are treating the blank cells as a 0

=INDEX(Sheet5!F:F,MATCH([@[Person Name]],Sheet5!B:B,MATCH([@WC],Sheet5!A:A))) and =SUMIFS(Sheet5!J:J,Sheet5!B:B,@'Data'!B:B,'Data'!A:A,@Sheet5!A:A)

Sum if formula :
Sheet 5 J:J is a % value (Sometimes blank)
Sheet 5 B:B is a Person name
Data B:B is Person name
Data A:A is a date
Sheet 5 A:A is a date

Index Formula:
Sheet 5 F:F is a % value (Sometimes blank)
Sheet 5 B:B Person Name
Sheet 5 A:A Date

i did try adding "<>" to the sum if but was not sure how to do it.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
HI,

Thank you for taking the time to look at my question.

I am trying to write a formula that will return a value based on some criteria however some the the data has blank cells with no dat in so i want it to ignore these and leave them blank in the formula returning cell.

What i am trying to do is if names match on both sheets and Dates match return Column F or J (Formula depending column F and J are the same)

ive tried to be descriptive as possible as i cant load a mini excel up it just wont allow me

I have tried it 2 ways and both formulas are treating the blank cells as a 0

=INDEX(Sheet5!F:F,MATCH([@[Person Name]],Sheet5!B:B,MATCH([@WC],Sheet5!A:A))) and =SUMIFS(Sheet5!J:J,Sheet5!B:B,@'Data'!B:B,'Data'!A:A,@Sheet5!A:A)

Sum if formula :
Sheet 5 J:J is a % value (Sometimes blank)
Sheet 5 B:B is a Person name
Data B:B is Person name
Data A:A is a date
Sheet 5 A:A is a date

Index Formula:
Sheet 5 F:F is a % value (Sometimes blank)
Sheet 5 B:B Person Name
Sheet 5 A:A Date

i did try adding "<>" to the sum if but was not sure how to do it.
See if this is what you're looking for:
That article shows a few different methods for only calculating cells that are NOT empty.
 
Upvote 0
How about
Excel Formula:
=SUMIFS(Sheet5!J:J,Sheet5!B:B,[@[Person Name]],Sheet5!A:A,[@WC])
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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