I have searched feverishly for the answer, but can't seem to figure this issue out. I have a worksheet with data for sales for our company. I need to total only the subtotals in column E, which crystal reports puts in the same column as the line items that are sold. I want to parse out the bolded and underlined items in a column and put the total on another worksheet, presumably cell A2.
I have tried many variations on this using native functions in excel, and now have looked into writing a vba script to do this, but can't seem to get a handle on the complication. I am not even sure where I should put the script, in Sheet2, or in workbook. Anyway, please help!!!
Here is the formula I have tried recently.
This code in sheet2, cell A2 doesn't seem to work. Since there is data in row G that specifies quantity, I figured I would try it this way, since the data is numeric, I would do a check against the quantity field instead, but it only totals the first one in the list. There are spaces in the list, and I worry that is messing this up.
I have also tried to do a sum based on the IsNumber and isNonText functions, but still get no luck. Thanks everyone!!!
S
I have tried many variations on this using native functions in excel, and now have looked into writing a vba script to do this, but can't seem to get a handle on the complication. I am not even sure where I should put the script, in Sheet2, or in workbook. Anyway, please help!!!
Here is the formula I have tried recently.
This code in sheet2, cell A2 doesn't seem to work. Since there is data in row G that specifies quantity, I figured I would try it this way, since the data is numeric, I would do a check against the quantity field instead, but it only totals the first one in the list. There are spaces in the list, and I worry that is messing this up.
Code:
=DSUM(Sheet1!E:G,Sheet1!E:E,Sheet1!G:G>0)
I have also tried to do a sum based on the IsNumber and isNonText functions, but still get no luck. Thanks everyone!!!
S