LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default IF function possible?

Which cell did you put the formula in?

Pete

On Dec 8, 12:20*pm, TomB wrote:
It gives a Circular Reference error, even when I try it testing one value only.



"Pete_UK" wrote:
Try this:


=IF(J5=8,I5+Sheet2!$B$17,IF(J5=10,I5+Sheet2!$B$18, IF(J5=12.5,I5+Sheet2!
$B$19,0)))


This assumes that the formula is in Sheet1 - if it is not, then change
the references to J5 and I5 to Sheet1!J5 and Sheet1!I5 respectively.
I've assumed that you want a zero returned if J5 does not contain any
of the 3 values.


Copy it down as required.


Hope this helps.


Pete


On Dec 7, 3:31 pm, TomB wrote:
I'm looking for a function which will do the following:


(1) Check each cell in "Sheet1", column "J" for a value of 8, 10, or 12.5


Example: If cell "J5" on "Sheet1" = 8, then add the value of "Sheet1" cell
"I5" to "Sheet2" cell "B17", etc.


(2) If the value is 8, then add the value of the neighboring cell in column
"I" to cell "B17" in "Sheet 2"
(3) If the value is 10, then add the value of the neighboring cell in column
"I" to cell "B18" in "Sheet 2"
(4) If the value is 12.5, then add the value of the neighboring cell in
column "I" to cell "B19" in "Sheet 2"


Any help appreciated.


.- Hide quoted text -


- Show quoted text -




 
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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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