I am attempting to use Microsoft Query on an excel spreadsheet that has columns for Account, Jan, Feb, Mar, etc. In the months columns is an amount. I have 2 questions.
1. Can I have a cell reference on my results page that I can use to refer to the columns with the month names.
2. I have a column that refers to a cell inside the table that is created (like B2) that displays the number as positive or negative depending on how I need it to (debit or credit). Is there a way that I can have that formula remain the same when I refresh the query and the data changes. (It gives me #ref now.)
My Query is below:
SELECT TRIM(`'Balance Sheet$'`.Account) AS 'Account', `'Balance Sheet$'`.`Jan`
FROM `'Balance Sheet$'` `'Balance Sheet$'`
WHERE (`'Balance Sheet$'`.Account Not Like '%Total %' And `'Balance Sheet$'`.Account Not Like '%Net %') AND (`'Balance Sheet$'`.`Jan`<>0)
My goals are:
A. To be able to change a cell value from say Jan to Feb so that I can refresh the query and retrieve the new values.
B. To be able to have my formula that refers to a cell inside the table created so that I do not have to recreate the formula every time I refresh the query with new data.
C. Copy and paste this data into a new table for creating the reports I need.
Thank you in advance for any help.
John Vogrin
1. Can I have a cell reference on my results page that I can use to refer to the columns with the month names.
2. I have a column that refers to a cell inside the table that is created (like B2) that displays the number as positive or negative depending on how I need it to (debit or credit). Is there a way that I can have that formula remain the same when I refresh the query and the data changes. (It gives me #ref now.)
My Query is below:
SELECT TRIM(`'Balance Sheet$'`.Account) AS 'Account', `'Balance Sheet$'`.`Jan`
FROM `'Balance Sheet$'` `'Balance Sheet$'`
WHERE (`'Balance Sheet$'`.Account Not Like '%Total %' And `'Balance Sheet$'`.Account Not Like '%Net %') AND (`'Balance Sheet$'`.`Jan`<>0)
My goals are:
A. To be able to change a cell value from say Jan to Feb so that I can refresh the query and retrieve the new values.
B. To be able to have my formula that refers to a cell inside the table created so that I do not have to recreate the formula every time I refresh the query with new data.
C. Copy and paste this data into a new table for creating the reports I need.
Thank you in advance for any help.
John Vogrin