We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Excel Formula Explanation Required
choyaa
Posts: 226 Forumite
in Techie Stuff
Hi,
I'm looking at a spreadsheet that someone else has setup, the following formula exists within it, can someone advise exactly what it means please?
=MEDIAN(IF(peer=$B3,IF(tcomp>0, tcomp)))
I'm looking at a spreadsheet that someone else has setup, the following formula exists within it, can someone advise exactly what it means please?
=MEDIAN(IF(peer=$B3,IF(tcomp>0, tcomp)))
0
Comments
-
It may help if you could give some context. Is this for a t-test?0
-
My guess is that 'peer' and 'tcomp' are named ranges in the spreadsheet, so if 'peer' is equal to the content of $b3, and tcomp is greater than zero, then it returns the median of the range of values in tcomp, otherwise it returns zero.
I'm not exactly sure how a named range 'peer' could equal a single cell value, but I'm not an Excel expert.0 -
Do you know what tcomp refers to on the spreadsheet?0
-
If you click on "Formula" on the menu tab and then on Name Manager, it should show you a list of defined names and/or ranges, hopefully amongst which you will find "peer" and "tcomp"0
-
Agree with the named ranges, only thing to add tcomp range could relate to some kind of tax computation within the spreadsheet?0
-
droopsnoot wrote: »My guess is that 'peer' and 'tcomp' are named ranges in the spreadsheet, so if 'peer' is equal to the content of $b3, and tcomp is greater than zero, then it returns the median of the range of values in tcomp, otherwise it returns zero.
I'm not exactly sure how a named range 'peer' could equal a single cell value, but I'm not an Excel expert.
that single cell could itself be a calculation0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.4K Banking & Borrowing
- 253.7K Reduce Debt & Boost Income
- 454.4K Spending & Discounts
- 245.4K Work, Benefits & Business
- 601.3K Mortgages, Homes & Bills
- 177.6K Life & Family
- 259.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards
