ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need to return a value! (https://www.excelbanter.com/excel-discussion-misc-queries/248981-need-return-value.html)

Scott_goddard

Need to return a value!
 
HI,

I have eight columns of data. Each cell either has N/A (returned from
another sheet) or a number, only one column will have a number. My question
is, how do i show the number in another column??


Current SalesP Total Cost (L)
24,595.00 #N/A 18628.18 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
718 #N/A 718.18 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
17,140.00 #N/A 17140.00 #N/A #N/A #N/A #N/A #N/A #N/A #N/A


Ms-Exl-Learner

Need to return a value!
 
Try this€¦

=SUMIF(B1:J1,"<#N/A",B1:J1)

Change the cell reference of B1:J1 to your desired range, if required.

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"Scott_goddard" wrote:

HI,

I have eight columns of data. Each cell either has N/A (returned from
another sheet) or a number, only one column will have a number. My question
is, how do i show the number in another column??


Current SalesP Total Cost (L)
24,595.00 #N/A 18628.18 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
718 #N/A 718.18 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
17,140.00 #N/A 17140.00 #N/A #N/A #N/A #N/A #N/A #N/A #N/A


David Biddulph[_2_]

Need to return a value!
 
=SUM(IF(ISNA(B1:J1),"",B1:J1))
as an array formula (Control Shift Enter)
--
David Biddulph


"Scott_goddard" wrote in message
...
HI,

I have eight columns of data. Each cell either has N/A (returned from
another sheet) or a number, only one column will have a number. My
question
is, how do i show the number in another column??


Current SalesP Total Cost (L)
24,595.00 #N/A 18628.18 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
718 #N/A 718.18 #N/A #N/A #N/A #N/A #N/A #N/A #N/A
17,140.00 #N/A 17140.00 #N/A #N/A #N/A #N/A #N/A #N/A #N/A





All times are GMT +1. The time now is 07:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com