it's an excel world
Board Regular
- Joined
- Sep 17, 2008
- Messages
- 126
Hello all,
I have a file that I need to pull back the difference in values in one column based on the values in a different column.
I have order numbers running down column A and the number of days it took to ship the each line on the orders in column B. So I may have order number ABC listed ten times down column A, but various numbers ranging from 1 - 20 running down column B on the same rows as order number ABC. I need a formula to identify the smallest number in column B for that particular order number in column A and return a zero. Then any number with a higher value than the smallest number would return the difference between that number and the smallest value.
Example: Rows 1-2 for order ABC, column B for rows 1-2 are 3 and 6. I would like a 0 to be returned for the 3 and a 3 for the 6.
I have dozens of order numbers running down column A, but only want to look at the number in column B for the within the same order number.
Thanks in advance!
I have a file that I need to pull back the difference in values in one column based on the values in a different column.
I have order numbers running down column A and the number of days it took to ship the each line on the orders in column B. So I may have order number ABC listed ten times down column A, but various numbers ranging from 1 - 20 running down column B on the same rows as order number ABC. I need a formula to identify the smallest number in column B for that particular order number in column A and return a zero. Then any number with a higher value than the smallest number would return the difference between that number and the smallest value.
Example: Rows 1-2 for order ABC, column B for rows 1-2 are 3 and 6. I would like a 0 to be returned for the 3 and a 3 for the 6.
I have dozens of order numbers running down column A, but only want to look at the number in column B for the within the same order number.
Thanks in advance!