Hello All,
I'm quite new to VBA and I am in need of a solution. I've spent countless hours trying to figure it out, but can't. Any help would be very much appreciated. Here is what I am trying to do:
I maintain commissions file.
-Column A is the sales reps user ID.
-Column B is the %'s of the commissions.
-Column C is the dollar amounts.
Column C contains various dollar amounts. Since some of the user Id's (sales reps) from Column A are split, those sales reps share a percent of the revenue.
Now here is what I do manually and how I'd like to create a macro:
In column C, each cell is selected manually, and a "=" sign is placed/ inserted before the revenue amount (in the formula bar), then multiplying it by column B, going down the entire column until the data ends. So this is how it looks:
$50.00 becomes =50.00*B2, etc. (clicking and inserting the "=" & multiplication).Doing this process manually displays the result, and the original dollar amounts are displayed when the cell is selected. This is what I'd like to automate.
Is there a way to automate this using a vba code, instead of going to each cell manually and typing in an equal sign and a "*", multiplying the percentages in order to keep the original value contained in the cell when selected?
Any solutions or help would very much be appreciated. It would help expedite the process instead of entering each one manually.
I'm quite new to VBA and I am in need of a solution. I've spent countless hours trying to figure it out, but can't. Any help would be very much appreciated. Here is what I am trying to do:
I maintain commissions file.
-Column A is the sales reps user ID.
-Column B is the %'s of the commissions.
-Column C is the dollar amounts.
Column C contains various dollar amounts. Since some of the user Id's (sales reps) from Column A are split, those sales reps share a percent of the revenue.
Now here is what I do manually and how I'd like to create a macro:
In column C, each cell is selected manually, and a "=" sign is placed/ inserted before the revenue amount (in the formula bar), then multiplying it by column B, going down the entire column until the data ends. So this is how it looks:
$50.00 becomes =50.00*B2, etc. (clicking and inserting the "=" & multiplication).Doing this process manually displays the result, and the original dollar amounts are displayed when the cell is selected. This is what I'd like to automate.
Is there a way to automate this using a vba code, instead of going to each cell manually and typing in an equal sign and a "*", multiplying the percentages in order to keep the original value contained in the cell when selected?
Any solutions or help would very much be appreciated. It would help expedite the process instead of entering each one manually.