unknownymous

Board Regular
Joined
Sep 19, 2017
Messages
249
Office Version
  1. 2016
Platform
  1. Windows
Hi Gurus,

Any thoughts on what would be the right sumif lookup formula for below scenario?

Sheet 1 - I have a long list of Data. Simple example below:

NameChange
Sam250
Mike300
Sam-500
Mike-150
Sam-50
Mike-25


Sheet 2 - I'm having a hard time doing it in pivot so just wondering if I could just create a formula in B2. Below is the final output I want to see.

Table 1: Will sum up all the Positive Numbers Only (in Sheet 1) with name as reference

NameChange (Positive Numbers Only)
Sam250
Mike300

Table 2: Will sum all the Negative Numbers Only (in Sheet 1) with name as reference

NameChange (Negative Numbers Only)
Sam-550
Mike-175

Any ideas or thoughts are appreciated.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
How about
Excel Formula:
=SUMIFS(Sheet1!B2:B200,Sheet1!A2:A200,A2,Sheet1!B2:B200,">0")
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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