Help! I'm stuck!!

Marie2000

New Member
Joined
Nov 26, 2022
Messages
1
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
Hello Everyone,

I have an Excel question. I have two sheets- tab a is the source data, tab b is data from a BI report. I need to match the IDs on both sheets, both in column A, and THEN sum all the matching values in the balances column to compare the report bal to the source bal. 1) the IDs on both files do not have equal lengths & may have some duplicates if there was more than one invoice. Therefore, I'm only matching the len of the source ID to the Report. Also, 2) Both have fields that are stored as BOTH numbers&Text. So, Im using Valuetotext. However, if the currency column is NOT EQUAL to USD, I need to, in addition to summing the balances, subtract the sum of the values in the losses column. Also, Here is what I have so far:SUMPRODUCT(((VALUETOTEXT($A38,0)=(LEFT(VALUETOTEXT(ExpPROJ_ID,0),LEN(VALUETOTEXT($A38)))))*ExpAdjBal)). I am completely stuck on how to subtract the losses based on the criteria I provided. I have started this but, I know I'm missing something simple. Any help is most appreciated!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
It is impossible to give any suggestion without knowing the real structure of the data.
Try giving this information using XL2BB to show what your sheets contains
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,122
Members
452,545
Latest member
boybenqn

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