Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Picking numbers from 2 columns - need help

I've hacked at this for a while and can't figure it out. I really need
it for an office project.

What formula do I use for Column C, when:

There are numbers in Column A, but not in all of the cells in that
column.

There are numbers in Column B, but not in all of the cells in that
column.

Every row has a number in either Column A, Column B, or both.

In every row, in Column C:

If there is a number in Column B, show that number in Column C,
otherwise show the number in Column A.

Please help me out, thanks. Reply to the group.

Ron M.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Picking numbers from 2 columns - need help

=IF(ISNUMBER(B1),B1,A1)

HTH Otto

wrote in message
ups.com...
I've hacked at this for a while and can't figure it out. I really need
it for an office project.

What formula do I use for Column C, when:

There are numbers in Column A, but not in all of the cells in that
column.

There are numbers in Column B, but not in all of the cells in that
column.

Every row has a number in either Column A, Column B, or both.

In every row, in Column C:

If there is a number in Column B, show that number in Column C,
otherwise show the number in Column A.

Please help me out, thanks. Reply to the group.

Ron M.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Picking numbers from 2 columns - need help

In C1:
=if(B1<"",B1,A1)
then drag fill down the column

--
Regards,
Tom Ogilvy



" wrote:

I've hacked at this for a while and can't figure it out. I really need
it for an office project.

What formula do I use for Column C, when:

There are numbers in Column A, but not in all of the cells in that
column.

There are numbers in Column B, but not in all of the cells in that
column.

Every row has a number in either Column A, Column B, or both.

In every row, in Column C:

If there is a number in Column B, show that number in Column C,
otherwise show the number in Column A.

Please help me out, thanks. Reply to the group.

Ron M.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Picking numbers from 2 columns - need help

Reading some of the other responses, mine would only work if the non numeric
cells were blank (which was what I envisioned).

--
Regards,
Tom Ogilvy


"Tom Ogilvy" wrote:

In C1:
=if(B1<"",B1,A1)
then drag fill down the column

--
Regards,
Tom Ogilvy



" wrote:

I've hacked at this for a while and can't figure it out. I really need
it for an office project.

What formula do I use for Column C, when:

There are numbers in Column A, but not in all of the cells in that
column.

There are numbers in Column B, but not in all of the cells in that
column.

Every row has a number in either Column A, Column B, or both.

In every row, in Column C:

If there is a number in Column B, show that number in Column C,
otherwise show the number in Column A.

Please help me out, thanks. Reply to the group.

Ron M.


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Picking numbers from 2 columns - need help

=IF(ISNUMBER(B1),B1,IF(ISNUMBER(A1),A1,""))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ups.com...
I've hacked at this for a while and can't figure it out. I really need
it for an office project.

What formula do I use for Column C, when:

There are numbers in Column A, but not in all of the cells in that
column.

There are numbers in Column B, but not in all of the cells in that
column.

Every row has a number in either Column A, Column B, or both.

In every row, in Column C:

If there is a number in Column B, show that number in Column C,
otherwise show the number in Column A.

Please help me out, thanks. Reply to the group.

Ron M.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Picking numbers from 2 columns - need help


Thanks, guys. You'll never pay for a drink when I'm around.

Ron M.

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
XY Scatter graph: x-axis picking up row numbers instead of values Darryl Charts and Charting in Excel 4 April 2nd 23 08:12 PM
compare 2 columns of numbers and place the matched numbers in a 3r Clive[_2_] Excel Discussion (Misc queries) 5 November 8th 09 12:50 AM
split range of numbers in two columns to as many as numbers in ran arsovat Excel Discussion (Misc queries) 2 October 30th 06 03:57 PM
Find similar numbers from two columns of numbers Dennis Andrews Excel Discussion (Misc queries) 1 November 30th 05 07:54 AM
Picking data Tudor Excel Worksheet Functions 2 June 14th 05 11:16 AM


All times are GMT +1. The time now is 12:42 PM.

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"