In a query I am trying to get a cM value using =DnaRelatedness(FileRoot(),%INDI%) which gives a float value less than 1.
How can I multiply that result of say 0.5 by 6900 to get a cM value of 3450 ?
I thought =Calc(DnaRelatedness(FileRoot(),%INDI%)*6900) but that errors.
What am I missing?
Thanks
* How can I Multiply DnaRelatedness by a Number
- Jane
- Site Admin
- Posts: 8518
- Joined: 01 Nov 2002 15:00
- Family Historian: V7
- Location: Somerset, England
- Contact:
Re: How can I Multiply DnaRelatedness by a Number
Try
Code: Select all
=Calc(Float(DnaRelatedness(FileRoot(),%INDI%)) * Float(6900))
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."
Re: How can I Multiply DnaRelatedness by a Number
those formulas are not my forte but will this work?
=Calc( (DnaRelatedness(FileRoot(), %INDI%) or 0) * 6900
=Calc( (DnaRelatedness(FileRoot(), %INDI%) or 0) * 6900
FH V.6.2.7 Win 10 64 bit
- paultt
- Famous
- Posts: 116
- Joined: 18 Jan 2005 21:59
- Family Historian: V7
- Location: Hampshire, England
- Contact:
Re: How can I Multiply DnaRelatedness by a Number
Brilliant, Jane,
Thanks very much.
Thanks very much.