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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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,216,540
Messages
6,131,255
Members
449,638
Latest member
ygdalvi

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