excel help

1,368 Views | 13 Replies | Last: 2 yr ago by tandy miller
tandy miller
How long do you want to ignore this user?
AG
Okay, I'm going to try to explain this as best I can.

Basically I have two sets of receivables data, one from 10/31 and one from 11/1

Each sheet is 100k+ rows, with some vendors having thousands of lines.

There is a huge increase in receivables between these 2 days, and I need to figure out where it is coming from.

What is the best way to go about doing this?

I tried pivoting both sets out and then doing a vlookup by vendor, but that only showed me the vendors that were on the new sheet, not the dollar amount for each.

Is there any way to make excel return only vendors that are unique to a sheet and then spit the corresponding $ amount out as well?
Fenrir
How long do you want to ignore this user?
tandy miller said:

Okay, I'm going to try to explain this as best I can.

Basically I have two sets of receivables data, one from 10/31 and one from 11/1

Each sheet is 100k+ rows, with some vendors having thousands of lines.

There is a huge increase in receivables between these 2 days, and I need to figure out where it is coming from.

What is the best way to go about doing this?

I tried pivoting both sets out and then doing a vlookup by vendor, but that only showed me the vendors that were on the new sheet, not the dollar amount for each.

Is there any way to make excel return only vendors that are unique to a sheet and then spit the corresponding $ amount out as well?
Maybe something like this?

Column 1
=unique(range of vendors)

Column 2
=countif(range of vendors, vendor in adjacent column 1 cell)

Column 3
=sumif(entire range, vendor in column 1 cell, range of transaction amounts)
rme
How long do you want to ignore this user?
AG
Sounds like you need a list of all vendors with balances on 10/31 and 11/1 and the delta. Use unique and then sum if on both sets of data. I don't know what the countif gets you.
TMoney2007
How long do you want to ignore this user?
AG
I can think of ways to do it using power query,... but I'm better at that than pivot tables.

You can group both days by vendor and calculate whatever stats you want (number of transactions, $/Transaction, total $, etc) and then do a full outer join between the two days so you can compare the vendors that are common between the two as well as any that only exist on one or the other.
Fenrir
How long do you want to ignore this user?
Quantity of transactions per vendor. Just another possible point of comparison between vendors.
rme
How long do you want to ignore this user?
AG
Makes sense
The Dog Lord
How long do you want to ignore this user?
AG
If I'm understanding correctly, it seems like a Pivot table would be the way to go still. Can select whichever sheet you want (or combine the info from both days into one sheet) and then use the pivot table to compare vendor (rows field), quantity (count of occurrences in the values field) and/or total $ spent (sum of values in the values field).

If you want to compare 10/31 to 11/1, the date could be added a the column field so you can see the number of items and/or total $ spent in each column. From there another column calculating difference between the 2 columns could be added.
CapCity12thMan
How long do you want to ignore this user?
AG
easy pivot table. would be easier if we had sample data
tandy miller
How long do you want to ignore this user?
AG
I have it pivoted to vendor and total AR in each sheet already


It's 2 columns Vendor, Total

I can already tell that there's 2500 unique vendors between the two. I just need 5 biggest
corndog04
How long do you want to ignore this user?
AG
Yes, there are several ways to approach this analysis in Excel to find out where the increase in receivables is coming from, including the vendors unique to each sheet and those with increased amounts. Here's a step-by-step method you could use:

### Step 1: Consolidate Data

1. **Label the Data**: Ensure both your data sets are labeled clearly, with a unique identifier for each set, for example, by adding a column in each dataset with the date as the identifier.

2. **Combine the Data**: In a new worksheet, combine the data from both the 10/31 and 11/1 sheets into one large table. You can differentiate each set by adding an extra column called "Date" that holds the respective date for each entry.

### Step 2: Prepare for Analysis

1. **Create a Pivot Table**: Insert a PivotTable using this new combined data set.

2. **Configure the Pivot Table**: Drag the "Vendor" field to the Rows area, the "Date" field to the Columns area, and the "Receivables" field to the Values area. This will show you the receivable amount per vendor broken down by date.

### Step 3: Identify Unique Vendors

To identify vendors unique to each date:

1. **Using Conditional Formatting to Find Unique Vendors**: After combining the data into one sheet, use Conditional Formatting to highlight duplicate vendors across both dates. Unique vendors will not be highlighted and can be filtered out.

2. **Using a Formula to Identify Unique Vendors**: You can use a formula to check if a vendor appears only once (which means they are unique to one of the dates). For example, use `COUNTIF` to count occurrences across the combined data and filter by those with a count of 1.

### Step 4: Compare Receivables

For vendors present on both days:

1. **VLOOKUP or INDEX/MATCH for Both Days**: You can perform a `VLOOKUP` or `INDEX/MATCH` to create two new columns next to your combined dataone for the receivable amount on 10/31 and another for 11/1by looking up each vendor in the original datasets. This can then be used to calculate the difference in receivables for each vendor from one day to the next.

2. **Pivot Table for Differences**: Add a calculated field to your pivot table that subtracts the 10/31 amount from the 11/1 amount to find the difference for each vendor.

### Step 5: Analyzing the Data

1. **Filter and Sort**: Use the PivotTable to sort vendors by the amount of increase in receivables. This will bring vendors with the most significant changes to the top.

2. **Use Conditional Formatting**: Use conditional formatting on the difference column to highlight significant increases.

### Step 6: Automate Difference Calculation

1. **IF & ISERROR for New Entries**: To identify new vendors that only appeared on 11/1 and not on 10/31, use a formula that combines `IF` with `ISERROR` around your `VLOOKUP` to check for non-matching vendors on the previous date.

Here's an example of such a formula you could use to find if a vendor from the 11/1 list is new:

=IF(ISERROR(VLOOKUP([VendorID], [10/31_Range], [Column_Number_for_Amount], FALSE)), [11/1_Amount], "Existing Vendor")

In this formula, replace `[VendorID]` with the cell reference containing the vendor's ID, `[10/31_Range]` with the range reference for the 10/31 data, `[Column_Number_for_Amount]` with the number of the column containing the dollar amounts in your 10/31 range, and `[11/1_Amount]` with the amount for the vendor on 11/1.

This setup would let you see which vendors are new on 11/1 and how much their receivables are.

You can also use the same approach with a slight modification to identify vendors that were only on 10/31 and not on 11/1.

By following these steps, you should be able to identify where the increase in receivables is coming from, whether it's due to new vendors, existing vendors with increased receivables, or both. If you are doing repetitive lookups or working with large datasets, make sure to use Excel's data model features or consider using Power Query for efficient handling of large datasets.
The Dog Lord
How long do you want to ignore this user?
AG
tandy miller said:

I have it pivoted to vendor and total AR in each sheet already


It's 2 columns Vendor, Total

I can already tell that there's 2500 unique vendors between the two. I just need 5 biggest
  • Go to Row Labels in the Pivot table
  • Click "more sort options"
  • Click on "Descending by" and then select the count in dropdown menu. Should sort the vendors based on how many have the most orders (or $ amount)
Hagen95
How long do you want to ignore this user?
AG
Stop helping this guy until he follows the rules.
tandy miller
How long do you want to ignore this user?
AG
Can I pivot both and combine the pivots?
tandy miller
How long do you want to ignore this user?
AG
Got it. Thanks all for the help, especially RME.

What I ended up doing:

Pivot both to show vendor name and total ($).

Add date (as mentioned) to each

Combine both data sets

Pivot new data set and use months for columns

=nov-oct

Sort large to small




Oh, and nina says thanks as well


Refresh
Page 1 of 1
 
×
subscribe Verify your student status
See Subscription Benefits
Trial only available to users who have never subscribed or participated in a previous trial.