Help please

Lizzi

Board Regular
Joined
Sep 23, 2011
Messages
156
Office Version
  1. 2016
Platform
  1. Windows
Hi all, i think i'm having a senior moment and need some assistance plse.

im using excel 2016, i have a data set that will possibly change from week to week and i'm trying to track the changes on certain things. On my raw data table i have added previous status and previous amount. i have copied the data from the previous week in to a separate sheet within the workbook and here comes my senior moment...i cant for the life of me think what i need to do next to track the change, if any....
Column A is an id field, col B is opp/lead. i want it to look at column A to see the id, then look at column b and see if it says oppy or lead then look at previous week to see if the same id says either oppy or lead and to see if the $ amount has changed from the previous week

ID oppy/lead. Amount previous week previous week amount
1234 oppy 50,000 lead 75,000
5678 oppy 50,000 lead 40,000
abcd lead 50,000 lead 50,000

so i can see on the example that id 1234 was previously a lead for 75K but this week its changed status to an oppy but dropped by 25K, where as id 5678 changed from a lead to an oppy but increased by 10K

any help appreciated.....

Thanku
Lizzi
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I fail to see what effect "oppy" or "lead" has to do on anything.
It seems to me that you subtract your previous week amount from your current week amount, i.e.
Excel Formula:
=C2-E2

Is this issue that some records will not have previous week amount, so you don't want to do the subtraction in that case, or vice versa?
If so, simply check columns B and D for values first, i.e.
Excel Formula:
=IF(AND(B2<>"",D2<>""),C2-E2,"")
 
Upvote 0
I fail to see what effect "oppy" or "lead" has to do on anything.
It seems to me that you subtract your previous week amount from your current week amount, i.e.
Excel Formula:
=C2-E2

Is this issue that some records will not have previous week amount, so you don't want to do the subtraction in that case, or vice versa?
If so, simply check columns B and D for values first, i.e.
Excel Formula:
=IF(AND(B2<>"",D2<>""),C2-E2,"")
the lead or oppty will change, it will likely go from lead to oppy and thats what i need to know also. The amount column will always have a value, it may or may not change thou
 
Upvote 0
Can you please post a sample of data showing different situations/combinations and your expected results in each case.

Please do not post the sample like you did in your original post. Unformatted data like that gets all smashed together making it very difficult to read.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

If you cannot use that, you can post images.
 
Upvote 0
Can you please post a sample of data showing different situations/combinations and your expected results in each case.

Please do not post the sample like you did in your original post. Unformatted data like that gets all smashed together making it very difficult to read.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

If you cannot use that, you can post images.
sorry i didnt expect it to go like that, my apologies, i've attached an image, the ID has to be used to make sure i'm capturing the correct info, so its a unique id.
 

Attachments

  • EXCEL sample file.PNG
    EXCEL sample file.PNG
    17.3 KB · Views: 2
Upvote 0
OK, you should be able to get the values for columns E, F, and G by using VLOOKUP formulas and looking up the IDs shown in column A from the other sheet.
(see this if you are not sure how to do that: Excel formula: VLOOKUP from another sheet | Exceljet)

Then, you can just place the following formulas in cells I3, J3, and K3 and copy down:
I3: =A3
J3: =IF(AND(F3="Lead",B3="Oppy"),"moved to an oppy","")
K3: =IF(G3=C3,"no change",C3-G3)
 
Upvote 0
OK, you should be able to get the values for columns E, F, and G by using VLOOKUP formulas and looking up the IDs shown in column A from the other sheet.
(see this if you are not sure how to do that: Excel formula: VLOOKUP from another sheet | Exceljet)

Then, you can just place the following formulas in cells I3, J3, and K3 and copy down:
I3: =A3
J3: =IF(AND(F3="Lead",B3="Oppy"),"moved to an oppy","")
K3: =IF(G3=C3,"no change",C3-G3)
thanku, i shall try it out later
 
Upvote 0

Forum statistics

Threads
1,214,392
Messages
6,119,257
Members
448,880
Latest member
aveternik

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