Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default If function - move to cell below

Hello!

I am unsing the following formula to pull in values from a spreadsheet.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet2 !A6,0)

i am getting a list of "0" values. how can i move to the next cell
below, only returning values for 'true' formulae.

cheers

nick

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default If function - move to cell below

Hi Nick,

There is something wrong in your formula. In the part - AND :

AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE)

You might not use TRUE here. This will work without using the word. So
the formula will be

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"),Sheet2!A6,0 )

Now if the AND formula is "True" then "Sheet2!A6 will be the outcome,
otherwise "0" will appear.

In your case the AND formula has always the output of "False" hence it
shows you "0".

This is what I interpreted. I could be able to tell you exact when I
see your data.

Thanks, I hope this helped you.

Shail



wrote:
Hello!

I am unsing the following formula to pull in values from a spreadsheet.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet2 !A6,0)

i am getting a list of "0" values. how can i move to the next cell
below, only returning values for 'true' formulae.

cheers

nick


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 29
Default If function - move to cell below

Dear Nic!,
Hope you mean by
"=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet 2!A6,0) "

Sheet2's Cell 'N6' has a value which is less than 0
AND
Sheet2's B6 has a text "North"

If your both conditions are true show the figure from A6


TRY THIS ONE

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"),Sheet2!A6,0 )

if you don't want to see Zero values

Tools-Options-View-window Options-Zerovalues uncheck

YOurs,
sajay

On Dec 18, 4:30 pm, wrote:
Hello!

I am unsing the following formula to pull in values from a spreadsheet.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet2 !A6,0)

i am getting a list of "0" values. how can i move to the next cell
below, only returning values for 'true' formulae.

cheers

nick


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default If function - move to cell below

Maybe just change the 0 to "" which will leave the cell looking blank.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet2 !A6,"")


Gord Dibben MS Excel MVP

On 18 Dec 2006 03:30:47 -0800, wrote:

Hello!

I am unsing the following formula to pull in values from a spreadsheet.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet 2!A6,0)

i am getting a list of "0" values. how can i move to the next cell
below, only returning values for 'true' formulae.

cheers

nick


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default If function - move to cell below

thanks,

i've followed Gords advice.

nick

Gord Dibben wrote:
Maybe just change the 0 to "" which will leave the cell looking blank.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet2 !A6,"")


Gord Dibben MS Excel MVP

On 18 Dec 2006 03:30:47 -0800, wrote:

Hello!

I am unsing the following formula to pull in values from a spreadsheet.

=IF(AND(Sheet2!N6<0,Sheet2!B6="North"=TRUE),Sheet 2!A6,0)

i am getting a list of "0" values. how can i move to the next cell
below, only returning values for 'true' formulae.

cheers

nick




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
How do I know which cell a function is called from? Murami Excel Worksheet Functions 3 November 24th 06 02:22 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
copying the function contained within a cell to anouther cell. DMB Excel Worksheet Functions 2 September 1st 05 05:49 PM


All times are GMT +1. The time now is 09:38 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"