excel - Find customers who spent above a certain amount -
i use vba search through list of customer names , amount have spent (in columns & b respectively), , return results list names (& corresponding amount) of have spent more $500, in 2 other columns in same sheet, columns d & e.
any appreciated. thank you!
a loop within subroutine work:
i = 1 j = 1 worksheetfunction.counta(columns(1)) if cells(j, 2) > 500 cells(i, 3) = cells(j, 1): = + 1 next j this prints names using same logic can print corresponding numbers. luck.
Comments
Post a Comment