Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Multiple Questions about adding different cells

Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it by one
every time I insert another row. In column GST on the same row as # I have a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No Costs etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple Questions about adding different cells

1. I have a field where I would like to know the last # used.

If your #'s are sequential then the last entry will be the MAX value of the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)


=SUM(B:B)

3. I need to know how many are TBA


=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.


=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it by
one
every time I insert another row. In column GST on the same row as # I have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Multiple Questions about adding different cells

Thanks,

But I am having trouble getting the first one to work. I have the others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.


If your #'s are sequential then the last entry will be the MAX value of the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)


=SUM(B:B)

3. I need to know how many are TBA


=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.


=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it by
one
every time I insert another row. In column GST on the same row as # I have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple Questions about adding different cells

Ok, that cell is probably formatted as text.

Select the cell in question
Got FormatCells
Select GENERAL
OK out

With the cell still selected press function key F2 then hit ENTER.


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Thanks,

But I am having trouble getting the first one to work. I have the others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.


If your #'s are sequential then the last entry will be the MAX value of
the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)


=SUM(B:B)

3. I need to know how many are TBA


=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.


=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it
by
one
every time I insert another row. In column GST on the same row as # I
have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No
Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Multiple Questions about adding different cells

Ok, I have just worked that out, but my problem now is that the boss wants a
3 digit number in that column, so when we type 1 or 12 it will be 001 or 012.
This means he has placed an apostrophe at the start of all numbers up to
100. My question now is, for this formula to work, and for me to have the
preceding zeros, what do I need to do??

Thanks,


"T. Valko" wrote:

Ok, that cell is probably formatted as text.

Select the cell in question
Got FormatCells
Select GENERAL
OK out

With the cell still selected press function key F2 then hit ENTER.


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Thanks,

But I am having trouble getting the first one to work. I have the others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.

If your #'s are sequential then the last entry will be the MAX value of
the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)

=SUM(B:B)

3. I need to know how many are TBA

=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.

=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it
by
one
every time I insert another row. In column GST on the same row as # I
have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No
Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx








  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple Questions about adding different cells

Typo:

Got FormatCells


Should be:

Goto FormatCells


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Ok, that cell is probably formatted as text.

Select the cell in question
Got FormatCells
Select GENERAL
OK out

With the cell still selected press function key F2 then hit ENTER.


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Thanks,

But I am having trouble getting the first one to work. I have the others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I
need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.

If your #'s are sequential then the last entry will be the MAX value of
the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)

=SUM(B:B)

3. I need to know how many are TBA

=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.

=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it
by
one
every time I insert another row. In column GST on the same row as # I
have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No
Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple Questions about adding different cells

for this formula to work, and for me to have the
preceding zeros, what do I need to do??


Well, if it were me I wouldn't use the apostrophe because now you have 2
different data types. You have text up to 099 and then you have numbers from
100.

I would use a custom NUMBER format of 000. If you use this format and type
in the number 1 it will display as 001 and it will still be a numeric number
then the MAX formula would work.

If you want to do as I suggested you can convert the text numbers to numeric
numbers very easily:

Select the range of cells that contain the text numbers
Goto DataText to Columns
Just click Finish
That should convert the text numbers to numeric numbers

Now, apply the custom number format
With the range still selected
Goto FormatCells
Select CUSTOM
In the little box under Type:, enter 000
OK out

--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Ok, I have just worked that out, but my problem now is that the boss wants
a
3 digit number in that column, so when we type 1 or 12 it will be 001 or
012.
This means he has placed an apostrophe at the start of all numbers up to
100. My question now is, for this formula to work, and for me to have the
preceding zeros, what do I need to do??

Thanks,


"T. Valko" wrote:

Ok, that cell is probably formatted as text.

Select the cell in question
Got FormatCells
Select GENERAL
OK out

With the cell still selected press function key F2 then hit ENTER.


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Thanks,

But I am having trouble getting the first one to work. I have the
others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I
need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.

If your #'s are sequential then the last entry will be the MAX value
of
the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)

=SUM(B:B)

3. I need to know how many are TBA

=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.

=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase
it
by
one
every time I insert another row. In column GST on the same row as #
I
have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No
Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc
neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No
Costs.

Thanks in advance for everyones help.
Redsphynx








  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Multiple Questions about adding different cells

P.S.

Then apply the same custom number format to the cell that holds the MAX
formula.

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
for this formula to work, and for me to have the
preceding zeros, what do I need to do??


Well, if it were me I wouldn't use the apostrophe because now you have 2
different data types. You have text up to 099 and then you have numbers
from 100.

I would use a custom NUMBER format of 000. If you use this format and type
in the number 1 it will display as 001 and it will still be a numeric
number then the MAX formula would work.

If you want to do as I suggested you can convert the text numbers to
numeric numbers very easily:

Select the range of cells that contain the text numbers
Goto DataText to Columns
Just click Finish
That should convert the text numbers to numeric numbers

Now, apply the custom number format
With the range still selected
Goto FormatCells
Select CUSTOM
In the little box under Type:, enter 000
OK out

--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Ok, I have just worked that out, but my problem now is that the boss
wants a
3 digit number in that column, so when we type 1 or 12 it will be 001 or
012.
This means he has placed an apostrophe at the start of all numbers up to
100. My question now is, for this formula to work, and for me to have
the
preceding zeros, what do I need to do??

Thanks,


"T. Valko" wrote:

Ok, that cell is probably formatted as text.

Select the cell in question
Got FormatCells
Select GENERAL
OK out

With the cell still selected press function key F2 then hit ENTER.


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Thanks,

But I am having trouble getting the first one to work. I have the
others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I
need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.

If your #'s are sequential then the last entry will be the MAX value
of
the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)

=SUM(B:B)

3. I need to know how many are TBA

=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.

=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase
it
by
one
every time I insert another row. In column GST on the same row as #
I
have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No
Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc
neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No
Costs.

Thanks in advance for everyones help.
Redsphynx










  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Multiple Questions about adding different cells

Thanks, that works when the =max formula is used in the same column, but when
the # is column A and the formula is in column G it doesn't work. Any ideas?

"T. Valko" wrote:

Typo:

Got FormatCells


Should be:

Goto FormatCells


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Ok, that cell is probably formatted as text.

Select the cell in question
Got FormatCells
Select GENERAL
OK out

With the cell still selected press function key F2 then hit ENTER.


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Thanks,

But I am having trouble getting the first one to work. I have the others
working great, now I just need this one.

When I enter the formula into the cell it looks like this
"=MAX(A6:A200)" and that is how it is displayed... not the number I
need..

Thanks again.

"T. Valko" wrote:

1. I have a field where I would like to know the last # used.

If your #'s are sequential then the last entry will be the MAX value of
the
range.

=MAX(A1:A100)

2. I need to have total amount $$ (inc neg amounts)

=SUM(B:B)

3. I need to know how many are TBA

=COUNTIF(B:B,"TBA")

4. I need to know how many are No Costs.

=COUNTIF(B:B,"No Costs")


--
Biff
Microsoft Excel MVP


"Redsphynx" wrote in message
...
Hi, this is my scenario...

I have a table with 2 (more but they are irrelevant) columns:
Column # and GST

In the # Column I have numbers 1, 2, 3 etc and I manually increase it
by
one
every time I insert another row. In column GST on the same row as # I
have
a
$$ amount that I put either $$$, TBA or 'Not Costs'.

e.g. 1 = $5.00, 2 = TBA, 3 = -$6.00 4 = No Costs 5 = $2.00, 6 = No
Costs
etc.

Now, my questions are...
1. I have a field where I would like to know the last # used.
2. I have another field where I need to have total amount $$ (inc neg
amounts)
3. I have another field where I need to know how many are TBA
4. I have one final field where I need to know how many are No Costs.

Thanks in advance for everyones help.
Redsphynx








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Test for string across multiple cells/sheets... further questions [email protected] Excel Worksheet Functions 6 March 9th 07 08:57 AM
Adding a number to multiple cells at once SeveranceD Excel Discussion (Misc queries) 3 February 26th 07 07:51 PM
adding multiple cells together ignitedaz Excel Discussion (Misc queries) 3 September 8th 06 09:26 PM
Adding up multiple cells Andy Excel Worksheet Functions 2 July 11th 06 04:57 PM
adding certain cells in multiple worksheets in multiple workbooks Stephen via OfficeKB.com Excel Worksheet Functions 1 February 4th 05 08:31 PM


All times are GMT +1. The time now is 01:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"