Suming numbers and text together

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

I have a problem. I have a table with a text field that was set up wrong
from the start.

The table looks like this.

Feild1
________
1
2
1
2
2 reserved
4 Res
2
1
3 res

I would like to sum the numbers but the text kills it. Is their a way to
have the query see only the numbers only?

Please Help..

Adam
 
I have a problem. I have a table with a text field that was set up wrong
from the start.

The table looks like this.

Feild1
________
1
2
1
2
2 reserved
4 Res
2
1
3 res

I would like to sum the numbers but the text kills it. Is their a way to
have the query see only the numbers only?

Please Help..

Adam

Sum(Val([FieldName])) = 18 using the above data.
 
Adam said:
I have a problem. I have a table with a text field that was set up wrong
from the start.

The table looks like this.

Feild1
________
1
2
1
2
2 reserved
4 Res
2
1
3 res

I would like to sum the numbers but the text kills it. Is their a way to
have the query see only the numbers only?


Try using the Val function:

Total: Sum(Val(field1))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Remove Minus 1
extract 3 numbers from a string 0
Query Question 2
Suming accounts 3
number in criteria changing to text 4
Query to display highest totals 1
Suming Records 4
Excel Sum numbers in cells that also contain text 34

Back
Top